Skip to main content

TdxBarCustomCombo.ItemIndex Property

Specifies the index of a selected listbox item in a dropdown listbox.

Declaration

property ItemIndex: Integer read; write;

Property Value

Type
Integer

Remarks

This property corresponds to the ItemIndex property of TCustomListBox. ItemIndex is used to select a listbox item at runtime. Set the ItemIndex value to the index of the listbox item to be selected. The ItemIndex of the first listbox item is 0. If no item is selected, ItemIndex is -1. The default value for the ItemIndex is -1.

See Also