Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCustomButton.GroupIndex Property

Allows toolbar buttons to work together as a group.

#Declaration

Delphi
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