EnsureRowVisible(Row: Integer);
Row. Index of the row which should be seen in the visible range of the table.
The EnsureRowVisible method scrolls the table in such a way, that the defined row is in the visible range.
Executing the example requires a form with the Button component named Button1 and located on it, the UiTabSheet component named UiTabSheet1. UiTabSheet1 should be selected as a data source for the TabSheetBox component. The link to the Tab system assembly should be added.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
View: ITabView;
Begin
View := UiTabSheet1.TabSheet.View;
View.EnsureRowVisible(15);
End Sub Button1OnClick;
After executing the example the table is scrolled in such a way, that the row with index 15 is in the visible range.
See also: