Vcl.ComCtrls.TToolButtonStyle
Delphi
TToolButtonStyle = (tbsButton, tbsCheck, tbsDropDown, tbsSeparator,
tbsDivider, tbsTextButton);
C++
enum DECLSPEC_DENUM TToolButtonStyle : unsigned char { tbsButton, tbsCheck, tbsDropDown, tbsSeparator, tbsDivider, tbsTextButton };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TToolButtonStyle indicates the type of control a TToolButton object represents.
These are the possible values of TToolButtonStyle:
Value | Meaning |
---|---|
tbsButton |
The button appears and functions like a normal speed button. |
tbsCheck |
Clicking the button toggles the Down property. Once selected, the button remains selected until clicked again. |
tbsDropDown |
The button displays a downward-pointing arrow (suitable for accessing a drop-down menu). |
tbsSeparator |
The button appears as an empty space on the toolbar (used to separate other controls). |
tbsDivider |
The button appears as a vertical line on the toolbar (used to separate other controls). |