[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DbCtrls' (#lcl)

TDBComboBox.ItemIndex

Index - the number of the currently selected item (starting at zero)

Declaration

Source position: dbctrls.pp line 514

public property TDBComboBox.ItemIndex;

Description

Index - the number of 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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.