Sign in Join
FPDoc Onlineexperiment

TListBox.ItemIndex property

Member of TListBoxpublishedIn unit StdCtrls

Ordinal position for the currently selected item, -1 if none.

Declaration

pascal
property ItemIndex:;

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.

This description is the one of StdCtrls.TCustomListBox.ItemIndex.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.