Vcl.StdCtrls.TCustomListBox.TopIndex
Delphi
property TopIndex: Integer read GetTopIndex write SetTopIndex;
C++
__property int TopIndex = {read=GetTopIndex, write=SetTopIndex, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Specifies the index number of the item that appears at the top of the list box.
Use TopIndex property to find or set the first item displayed at the top of the list box. TopIndex can be used, for example, to change the topmost item to a different item in the list.
See Also
Code Examples