Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > TAB Control > TAB_PageDelete |
|
Description
Deletes the indicated TAB page.
Syntax
n = TAB_PageDelete(hWnd, ctrlID, PageNum)
Returns
Number
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.
If PageNum page has a callback function associated with it, %WM_DESTROY message will be fired to the callback. This can be used to perform some actions before the page (and all controls associated with it) will be definitely destroyed.
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |