TSRVToolButton.GroupIndex

<< Click to display table of contents >>

TSRVToolButton.GroupIndex

Allows buttons to work together as a group.

property GroupIndex : Integer;

If GroupIndex is 0, the button works as a command button. 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 works like a checkbox or as a radio button, depending on AllowAllUp property. If AllowAllUp is True, the button works like a checkbox. If AllowAllUp=False, buttons with the same GroupIndex property value (other than 0) work together as a group of radio buttons. Checked buttons have Down=True.

Default value:

0