BorderStyle Property (AStatusBarPane)

Returns or sets the border style of the object.

Syntax

Object.BorderStyle [ = enBorderStyle ]

The BorderStyle property syntax has the following parts:

 

Name

Type

Description

Object

AStatusBarPane

AStatusBarPane object

enBorderStyle

enumAStatusBarPaneBorderStyle

An integer specifying the border style of the object.

Where

enumAStatusBarPaneBorderStyle can be one of the following:

 

Name

Value

Description

asbrpBorderStyleNone

0

None. The pane displays no border and text looks as if it were displayed right on the status bar.

asbrpBorderStyleInset

1 *

Inset. The pane appears to be sunken into the status bar.

asbrpBorderStyleRaised

2

Raised. The pane appears to be raised above the status bar.

Example

The following statement changes the border style of the pane to raised:

sbrp1.Panes(0).BorderStyle=asbrpBorderStyleRaised

Applies to

AStatusBarPane

See Also

Alignment, AutoSize, Style