JVCL Help:TJvCustomGraphicButton.AllowAllUp

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies whether all buttons in a group can be unselected at the same time.


Pascal

 propertyAllowAllUp: Boolean;


Description

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), all other buttons in the group become unselected (up).
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.
Changing the value of the AllowAllUp property for one button in a group changes the AllowAllUp value for all buttons in the group.


See Also

TJvCustomGraphicButton.Down, TJvCustomGraphicButton.GroupIndex


About

Notes

If GroupIndex is zero, AllowAllUp has no effect.


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