TCustomListBox.ItemIndex property
Ordinal position for the currently selected item, -1 if none.
Declaration
property ItemIndex: Integer read GetItemIndex write SetItemIndex default - 1;Description
ItemIndex is an
Integer property which contains the
position for the current selection in the control. If
MultiSelect
is
True, ItemIndex represents the selected item which also has focus.
Use the
Selected property to access individual items when
MultiSelect is enabled.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
