RemovePage Method (ATab) |
Version 6 |
Removes a tab page object.
Object.RemovePage ( vKey )
The RemovePage method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
ATab |
ATab object |
|
vKey |
Val Variant |
The parameter which specifies the ATabPage object. This can be a position (index) or a string (page name). |
The following example will remove the first page in a tab control called 'tabLog':
tabLog.RemovePage(0)
The following example will remove page called "UUT5":
tabLog.RemovePage("UUT5")