Vcl.ListActns.TCustomListAction.ItemIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ItemIndex: Integer read FItemIndex write SetItemIndex;

C++

__property int ItemIndex = {read=FItemIndex, write=SetItemIndex, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ListActns.pas
Vcl.ListActns.hpp
Vcl.ListActns TCustomListAction

Description

Specifies the index of the selected item.

ItemIndex represents the index of the selected item in all client controls that descend from TCustomListControl. Setting ItemIndex causes these clients to change their selection. When the user updates the selection using one of these clients, TCustomListAction automatically updates the others so that they select the same item.

Note: List actions do not supply ItemIndex to all clients. The ItemIndex property controls only the ItemIndex property of clients that descend from TCustomListControl.

See Also