RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolButton.AllowAllUp Property

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

Pascal
property AllowAllUp: Boolean;
C++
__property Boolean AllowAllUp;

If AllowAllUp is set to true, all of the tool buttons in the group can be unselected. If AllowAllUp is set to false, at least one tool button in the group must be selected at any time. (Determine which tool button is initially selected by setting its Down property to true.) 

AllowAllUp is effective only when Grouped is true and Style is set to tbsCheck. Changing the value of AllowAllUp for one button in a group automatically changes the value for all buttons in the group. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!