Bring A Row Into View After Selecting It

General TRichView support forum. Please post your questions here
Post Reply
DickBryant
Posts: 148
Joined: Wed Dec 07, 2005 2:02 pm
Contact:

Bring A Row Into View After Selecting It

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17310
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

table.Cell[r,c].GetOriginEx(Left, Top);
richview.ScrollTo(Top);
DickBryant
Posts: 148
Joined: Wed Dec 07, 2005 2:02 pm
Contact:

Post by DickBryant »

Perfect! Thank you!
Post Reply