Pages Property (ATab)

Returns a specific page of the tab object either by position or by name.

Syntax

[ page = ] Object.Pages (vKey)

The Pages property syntax has the following parts:
 

Name]

Type

Description

Object

ATab

ATab control

vKey

Variant

name or index (0-based)

page

ATabPage

Returned ATabPage of name or index specified as vKey

Example

The following example returns the first page:

pgUserGroup=tabUsers.Pages(0)

Applies to

ATab

See Also

ATab.PageCount, ATab.InsertPage, ATab.RemovePage, ATab.MovePage