Vcl.ComCtrls.TToolButton.AllowAllUp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllowAllUp: Boolean read FAllowAllUp write FAllowAllUp default False;

C++

__property bool AllowAllUp = {read=FAllowAllUp, write=FAllowAllUp, default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolButton

Description

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

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.

See Also