Vcl.ComCtrls.TToolButton.Style
Delphi
property Style: TToolButtonStyle read FStyle write SetStyle default tbsButton;
C++
__property TToolButtonStyle Style = {read=FStyle, write=SetStyle, default=0};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolButton |
Description
Determines the style of the tool button.
These are the possible values of Style:
| 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). |
|
tbsTextButton |
The button appears as text only. |
See Also
Code Examples