InsertPage Method (ATab) |
Version 6 |
Inserts a tab page object and returns a reference to the created object.
[ pPage = ] Object.InsertPage ( vKey )
The InsertPage method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ATab |
ATab object |
|
pPage |
ATabPage |
A specific page of the ATab object. |
|
vKey |
Val Variant |
The parameter which specifies the location of the created ATabPage object. This can be a position (index) or a string (page name). |
Creates an ATabPage object and inserts the newly created object before the specified pane. If vKey is omitted or out-of-range the newly created page will be added to the end of the pages collection.
The following example will insert a page before the existing "UUT5" pane:
Page=tabLog.InsertPage("UUT5")