Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > TAB Control >

TAB_SetSelected

Previous pageReturn to chapter overviewNext page

 

Description

 

Select (activate) the indicated TAB page.

 

Syntax

 

n = TAB_SetSelected(hWnd, ctrlID, PageNum)

 

Returns

 

Number

The previously selected page.

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

PageNum

Number

No

TAB Page number to be deleted.

 

Remarks

 

PageNum always starts from 1.

 

Restrictions

 

See also

 

Examples