We did not find any option to focus (scroll to) a certain grid line. For instance if only 20 lines of the grid are shown but you want to set the focus in line 99 this line should move to the top of the grid or to one of the first visible lines.
There should be a command to set the focus in this line automatically.
Scrolling to a certain grid line
Re: Scrolling to a certain grid line
Hello,
You can do this:
You can do this:
Code: Select all
type
TRowGroupAccess=class(TRowGroup);
//...
TRowGroupAccess(TeeGrid1.Grid.Current).Scroll(0,TeeGrid1.Rows.UpToRowHeight(99));
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |