FMX.ListBox.TComboBox.ItemIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ItemIndex: Integer read GetItemIndex write SetItemIndex default -1;

C++

__property ItemIndex = {default=-1};

Properties

Type Visibility Source Unit Parent
property published
FMX.ListBox.pas
FMX.ListBox.hpp
FMX.ListBox TComboBox

Description

Specifies the index of the currently selected item.

FMX.ListBox.TComboBox.ItemIndex inherits from FMX.ListBox.TCustomComboBox.ItemIndex. All content below this line refers to FMX.ListBox.TCustomComboBox.ItemIndex.

Specifies the index of the currently selected item.

Gets or sets the index of the item that is selected in the combo box. The first item in the list has index 0, the second item has index 1, and so on. If no item is selected, the value of ItemIndex is -1.

See Also