Returns or sets the style of the border of the object.
Object.BorderStyle [ = enBorderStyle ]
The BorderStyle property syntax has the following parts:
Name |
Type |
Description |
Object |
AToolBar |
AToolBar control |
enBorderStyle |
enumAToolBarBorderStyle |
An integer specifying the style of the border around the object. |
enumAToolBarBorderStyle can be one of the following:
Name |
Value |
Description |
atbrBorderStyleNone |
0 |
None |
atbrBorderStyleSingle |
1 |
Single |
atbrBorderStyleSunken |
2 |
Sunken |
atbrBorderStyleRaised |
3 |
Raised |
The following statement changes the AToolBar border style to be sunken:
tbr1.BorderStyle=atbrBorderStyleSunken