RemovePane Method (AStatusBar)

Removes a status bar pane object.

Syntax

Object.RemovePane ( vKey )

The RemovePane method syntax has the following parts:

 

Name

Type

Description

Object

AStatusBar

AStatusBar object

vKey

Val Variant

The parameter which specifies the AStatusBarPane object. This can be a position (index) or a string (pane name).

Comments

To remove all status bar pane objects, use the Clear method.

Example

The following example will remove the first pane:

sbr.RemovePane(0)

The following example will remove pane "A":

sbr.RemovePane("A")

Applies to

AStatusBar

See Also

Clear, InsertPane, MovePane, Panes