<< Click to display table of contents >> TSRVToolButton.AllowAllUp |
Specifies whether all buttons in the group that contains this button can be unselected at the same time.
property AllowAllUp: Boolean;
Use AllowAllUp with a group of buttons that belong to the same group. Buttons 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 (Down=True), all other buttons in the group become unselected (Down=False).
If AllowAllUp is True, all of the buttons in a group can be unselected at the same time. Clicking the single selected button in the group will deselect that button without selecting another. If AllowAllUp is False, exactly one of the buttons in the group must be selected at any time. Clicking a down button won't return the button to its up state.
If GroupIndex is zero, AllowAllUp has no effect.