Vcl.ActnList.TAction.GroupIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property GroupIndex: Integer read FGroupIndex write SetGroupIndex default 0;

C++

__property GroupIndex = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ActnList.pas
Vcl.ActnList.hpp
Vcl.ActnList TAction

Description

Indicates a group of actions in one action list. Actions in this group act like the group of radio buttons.

Vcl.ActnList.TAction.GroupIndex inherits from System.Actions.TContainedAction.GroupIndex. All content below this line refers to System.Actions.TContainedAction.GroupIndex.

Indicates a group of actions in one action list. Actions in this group act like the group of radio buttons.

The value of GroupIndex is used to define groups of actions. Actions in each group act like groups of radio buttons. When GroupIndex is greater than 0, this value identifies the group to which some actions belong. The value of GroupIndex can be propagated to all client controls and client menu items linked to the action.

When the Checked property of any action in that group is set to True, the Checked properties of all other actions in the group are 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.

See Also