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

TAB_Reset

Previous pageReturn to chapter overviewNext page

 

Description

 

Remove all pages present in a TAB control.

 

Syntax

 

TAB_Reset(hWnd, ctrlID)

 

Returns

 

None

 

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 ...

 

Remarks

 

If a page has been associated with a callback, %WM_DESTROY message will be fired to the callback. This can be used to perform some actions before the page(s) (and all controls associated with it) will be definitely destroyed.

 

Restrictions

 

See also

 

Examples