[Overview][Constants][Types][Classes][Procedures and functions][Index] |
ItemIndex: Integer to indicate the currently selected item (zero origin)
Source position: stdctrls.pp line 576
public property TCustomListBox.ItemIndex: Integer |
Indicates the currently selected item. The first item has number 0, the second has number 1, the third number 2, etc. In case no item is selected, ItemIndex has value -1. If MultiSelect is True, ItemIndex represents the item which has focus, which typically has a different color from the other items.
|
TCustomList Box : the base class for TListBox |
|
|
Items - an array of strings representing the list of entries |
|
|
MultiSelect - allows more than one Item from the list to be selected at a time, by pressing the CTRL or SHIFT key while selecting |
lazarus-ccr.sourceforge.net |