BorderStyle Property (AToolBar)

Returns or sets the style of the border of the object.

Syntax

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.

Where

enumAToolBarBorderStyle can be one of the following:

 

Name

Value

Description

atbrBorderStyleNone

0

None

atbrBorderStyleSingle

1

Single

atbrBorderStyleSunken

2

Sunken

atbrBorderStyleRaised

3

Raised

Example

The following statement changes the AToolBar border style to be sunken:

tbr1.BorderStyle=atbrBorderStyleSunken

Applies to

AToolBar

See Also

Style