MovePane Method (AStatusBar)

Moves a status bar pane object to a new position.

Syntax

Object.MovePane ( vKey, vKeyMoveTo )

The MovePane 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).

vKeyMoveTo

Val Variant

The parameter which specifies the new position of the AStatusBarPane object.

Comments

Move an AStatusBarPane object to a new position within the panes collection.

Example

The following example will move "Time" pane to a new position before "Date" pane:

sbr.MovePane("Time", "Date")

Applies to

AStatusBar

See Also

Clear, InsertPane, Panes, RemovePane