Returns or sets the style of an AToolBar Button object.
Object.Style [ = enBorderStyle ]
The Style property syntax has the following parts:
Name |
Type |
Description |
Object |
AToolBarButton |
AToolBarButton class |
enBorderStyle |
enumAToolBarButtonStyle |
An integer specifying the style of the object. |
enumAToolBarButtonStyle can be one of the following:
Name |
Value |
Description |
atbrbStyleDefault |
0 |
Default |
atbrbStyleCheck |
1 |
Check |
atbrbStyleDropDown |
2 |
Drop Down |
atbrbStyleGroup |
3 |
Group |
atbrbStyleSeparator |
4 |
Separator |
AToolBarButtons that have the Group style must be grouped. To distinguish a group, place all AToolBarButton objects with the same style (Group) between two AToolBarButton objects with the Separator style.
The following statement changes the style to a Check style:
tbrb1.Style=atbrbStyleCheck