RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStaticListAction.ItemIndex Property

Specifies the index of the selected item.

Pascal
property ItemIndex: Integer;
C++
__property int ItemIndex;

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!