Moves a status bar pane object to a new position.
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. |
Move an AStatusBarPane object to a new position within the panes collection.
The following example will move "Time" pane to a new position before "Date" pane:
sbr.MovePane("Time", "Date")