Returns or sets the style of the object.
Object.Style [ = enStyle ]
The Style property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AToolBar |
AToolBar control |
|
enStyle |
enumAToolBarStyle |
An integer specifying the style of the object. |
enumAToolBarStyle can be one of the following:
|
Name |
Value |
Description |
|
atbrStyleAllowCustomize |
32 |
Allow Customize |
|
atbrStyleFlat |
1 |
Flat |
|
atbrStyleShowToolTips |
2 |
Show ToolTips |
|
atbrStyleTextAlignRight |
4 |
Text Align Right |
|
atbrStyleTransparent |
8 |
Transparent |
|
atbrStyleWrappable |
16 |
Wrappable |
The enStyle can contain several styles with the OR operation.
The following statement changes the AToolBar style to be flat and with text aligned to the right:
tbr1.Style=atbrStyleFlat or atbrStyleTextAlignRight