TAdvMemo and Scrolling

Question on how to control the scrolling on the TAdvMemo. I want to move the move the cursor to line X and then position it Y lines from the top of the window. And I'm having a brain freeze. Help pls.


Thanks

The cursor position in the memo is set with AdvMemo.CurX, AdvMemo.CurY
The scroll position is controlled with the property 
AdvMemo.TopLine

Ahh thanks for that. The TopLine property did the trick :-)