MovePage Method (ATab)

Moves a page object to a new position.

Syntax

Object.MovePage()

The MovePage method syntax has the following parts:

 

Name]

Type

Description

Object

ATab

ATab control

vKey

Variant

Key for the page - either name or index

vKeyMoveTo

Variant

The new page index or exiting name where the page is moved to

Example

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

tab.MovePage("Users", "xxx")

Applies to

ATab

See Also

ATab.ActivePage, ATab.ActivatePage, ATab.InsertPage, ATab.RemovePage, ATab.Pages