JVCL Help:TJvCustomGraphicButton.GroupIndex
JVCL Help: TJvCustomGraphicButton.GroupIndex Property
Search in JVCL Help
Search in all projectsSummary
Allows buttons to work together as a group.
Pascal
propertyGroupIndex: Integer;
Description
Set GroupIndex to determine how the button behaves when clicked.
When GroupIndex is 0, the button behaves independently of all other buttons on the form. When the user clicks such a button, the button appears pressed (in its clicked state) and then returns to its normal up state when the user releases the mouse button.
When GroupIndex is greater than 0, the button remains selected (in its down state) when clicked by the user. When the user clicks a selected button, it returns to the up state, unless AllowAllUp is False. Setting the G oupIndex property of a single button to a value greater than 0 causes the button to behave as a two-state button when AllowAllUp is True.
Buttons with the same GroupIndex property value (other than 0), work together as a group. When the user clicks one of these buttons, it remains selected until the user clicks another button in the same group. Buttons used in this way can present mutually exclusive choices to the user, much like radio buttons.
See Also
TJvCustomGraphicButton.AllowAllUp, TJvCustomGraphicButton.Down
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page