Removes a status bar pane object.
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). |
To remove all status bar pane objects, use the Clear method.
The following example will remove the first pane:
sbr.RemovePane(0)
The following example will remove pane "A":
sbr.RemovePane("A")