RemovePage Method (ATab)

Version 6

Removes a tab page object.

Syntax

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).

Example

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")

Applies to

ATab

See Also

ATab.PageCount, ATab.InsertPage, ATab.MovePage