RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAction.GroupIndex Property

Indicates whether the action acts like a radio button with other actions in the same action list.

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

GroupIndex is used to define groups of actions that act like radio buttons. When GroupIndex is greater than 0, it identifies the group to which the action belongs. When the Checked property of any action in that group is set to true, the Checked property of all other actions in the group is set to false. That is, only one action in the group can be checked at a time.

Note: All actions in a group must be listed by the same action list or action manager.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!