Inserts a status bar pane object and returns a reference to the created object.
[ pPane = ] Object.InsertPane ( vKey )
The InsertPane method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AStatusBar |
AStatusBar object |
|
pPane |
AStatusBarPane |
A specific pane of the AStatusBar object. |
|
vKey |
Val Variant |
The parameter which specifies the AStatusBarPane object. This can be a position (index) or a string (pane name). |
Creates an AStatusBarPane object and inserts the newly created object before the specified pane. If vKey is omitted or out-of-range the newly created pane will be added to the end of the panes collection.
The following example will insert a pane before the existing "Time" pane:
Pane=sbr.InsertPane("Time")