CONTROL.TAB_GET Function

Syntax

Page_Number as N = .TAB_GET()

Description

Returns the Page_Number of the tab page that is visible.

Discussion

The .TAB_GET() method returns the Page_Number of the tab page that is visible.

Example 

The following example shows that the second page of the tabbed control is currently visible.

dim ptr as P
dim fld as P
ptr = form.load("customerx")
ptr.show()
fld = ptr.child("TABBED1")
? fld.Tab_Get()
= 2.000000

Limitations

Desktop applications only.

See Also