Back to Devexpress

TdxBarCustomButton.GroupIndex Property

vcl-dxbar-dot-tdxbarcustombutton-fac1ddf0.md

latest1.2 KB
Original Source

TdxBarCustomButton.GroupIndex Property

Allows toolbar buttons to work together as a group.

Declaration

delphi
property GroupIndex: Integer read; write; default 0;

Property Value

TypeDefault
Integer0

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

TdxBarCustomButton Class

TdxBarCustomButton Members

dxBar Unit