|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home GuiPack OnOffBut Properties GroupIndex|
|See also: AllowAllOff, OnOff|
TOnOffBut components belong to the same group if they have the same value on their GroupIndex property. Buttons in the same group behave in a mutually exclusive fashion: when one button in the group is selected (property OnOff = TRUE), all other buttons in the group become unselected (property OnOff = FALSE). When GroupIndex is zero, the button behaves independently of all other buttons on the form.
Note that the property AllowAllOff also controls the behavior of grouped buttons.