IActionItem.GroupIndex

Syntax

GroupIndex: Integer;

Description

The GroupIndex property sets index of the group, in which this action is included.

Comments

The GroupIndex property is used to create a group of actions that work as radio buttons.

To create a group, set the IMenuItem.RadioItem property of appropriate actions to True, and set the GroupIndex property to the same value. If the user selects one of the elements related with actions that are included in the same group, all other elements are deselected.

It can be relevant to set the IActionItem.AutoCheck property to True for actions combined in the group.

The GroupIndex property is set to 0 by default, the action is not included in the group.

NOTE. Foresight Analytics Platform supports group organization only for actions related with items of the main menu, or items of the context menu.

See also:

IActionItem