[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TToolButton.GroupAllUpAllowed

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

## Declaration

Source position: comctrls.pp line 2177

`protected function TToolButton.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.

Remark: | 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

TToolButton.Style |  | Determines the display style for the tool button.
TToolButton.Grouped |  | Indicates if the tool button is a member of a group. The default value is False.
TToolButton.AllowAllUp |  | Indicates if all buttons in a group can have their Down property set to False.
TToolButtonStyle |  | Enumerated type with values representing the display styles and behaviors for buttons on a TToolBar control.