ActnList.TCustomAction.GroupIndex

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From ActnList.pas

	property GroupIndex: Integer read FGroupIndex write SetGroupIndex;


Unit: ActnList

Type: property

Visibility: public

Member Of: TCustomAction

C++ Information

From ActnList.hpp

	__property int GroupIndex = {read=FGroupIndex,write=SetGroupIndex};


Unit: ActnList

Type: property

Visibility: public

Member Of: TCustomAction

Description

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


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.

See Also

Personal tools
Translations
Newest Version