Skip to main content

TdxBarCustomButton.GroupIndex Property

Allows toolbar buttons to work together as a group.

Declaration

property GroupIndex: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

This property is in effect for toggle buttons (buttons whose ButtonStyle property is set to bsChecked or bsCheckedDropDown). When the GroupIndex property is set to 0, the button behaves independently of all other toolbar buttons in their bar manager. If several buttons in the bar manager have an equal non-zero GroupIndex, they are grouped together. When a user clicks one of these buttons, it remains selected until the user clicks another button belonging to the same group. The AllowAllUp property determines whether all the buttons of the group can be unselected.

The default value of the GroupIndex property is 0.

See Also