ActivatePage Method (ATab)

Activates a page of the object.

Syntax

Object.ActivatePage( vKey )

The ActivatePage method syntax has the following parts:

 

Name]

Type

Description

Object

ATab

ATab control

vKey

Variant

Key for the page - either name or index

Comments

ActivatePage will cause the  OnPageSelChange event to be invoked if the activated page is different than the current active page. The event is also called when the user clicks on the page tab and activate a different page.

Example

The following example will activate a tab page in a tab:

tabUsers.ActivatePage("Toolbars")

Applies to

ATab

See Also

ATab.ActivePage, ATab.OnPageSelChange