Vcl.ComCtrls.TToolButton.Grouped

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Grouped: Boolean read FGrouped write SetGrouped default False;

C++

__property bool Grouped = {read=FGrouped, write=SetGrouped, default=0};

Properties

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

Description

Aggregates a sequence of adjacent tbsCheck buttons.

When an unbroken sequence of adjacent tool buttons each has its Grouped property set to true and Style set to tbsCheck, then no more than one of the buttons can be selected at the same time. Selecting a grouped button at runtime unselects the other buttons in its group.

To create distinct groups of buttons within a toolbar, separate the groups with any of the following: tool buttons whose Grouped property is false, tool buttons whose Style property is not tbsCheck (tbsSeparator and tbsDivider buttons are useful for this), or controls other than tool buttons.

See Also