[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Index of the first visible (or top-most) item.
Source position: stdctrls.pp line 683
public property TCustomListBox.TopIndex : Integer |
TopIndex is an Integer property which contains the ordinal position in Items for the first visible list item in the scrollable control. The default value for the property is 0 (the first value in Items).
The property value is retrieved from the widgetset class when a handle has been allocated for the control. Setting a new value for the property causes the widgetset class to be notified of the value change when a handle has been allocated for the control.
The value in TopIndex is updated in the MakeCurrentVisible method where the current selection in ItemIndex is assigned to the property.
|
The list of all items defined in the control. |
|
|
The default height for an item displayed in the list. |
|
|
Makes the item at ItemIndex visible, possibly scrolling the list. |
Version 3.2 | Generated 2024-02-25 | Home |