Activates a page of the object.
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 |
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.
The following example will activate a tab page in a tab:
tabUsers.ActivatePage("Toolbars")