Page 1 of 1

Bring A Row Into View After Selecting It

Posted: Tue Aug 22, 2006 1:10 am
by DickBryant
I have a large table that doesn't fit within the displayed extent of the RVE. How can I force the view to scroll to the selected row after selecting an off-screen row using code?

Posted: Tue Aug 22, 2006 8:39 am
by Sergey Tkachenko
table.Cell[r,c].GetOriginEx(Left, Top);
richview.ScrollTo(Top);

Posted: Tue Aug 22, 2006 12:28 pm
by DickBryant
Perfect! Thank you!