Ensures that the data provider item at the given index is visible.
If the item is visible, the verticalScrollPosition property is left unchanged even if the item is not the first visible item. If the item is not currently visible, the verticalScrollPosition property is changed to make the item the first visible item, unless there are not enough rows to do so because the verticalScrollPosition value is limited by the maxVerticalScrollPosition property.
bResult = listBase.ScrollToIndex(index)
Variable | Description |
---|---|
bResult | BOOLEAN. |
index | The index of the item in the data provider. INTEGER. |