Sign in Join
FPDoc Onlineexperiment

TToolButton.GroupAllUpAllowed function

Member of TToolButtonprotectedIn unit ComCtrls

Indicates if all buttons in the group are allowed to be in the 'Up' position.

Declaration

pascal
function GroupAllUpAllowed: Boolean

Function result

True when the AllowAllUp property is set for any of the adjacent grouped check-box buttons on the tool bar.

Description

Adjacent check box-style buttons (and their separators / dividers) with their Grouped property set to True are considered to be in the same group. GroupAllUpAllowed examines the adjacent tool buttons on the Parent tool bar to determine whether any of the grouped buttons have the AllowAllUp property set to True. When one grouped check-box button has AllowAllUp set, the remaining buttons in the group are treated in the same manner.

Change the Grouped property to False on a separator or divider to force the preceding or subsequent check-box buttons to be treated as a different group.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.