Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > CONTROL SHOW STATE |
|
Description
Change the visible state of a control.
Syntax
CONTROL SHOW STATE hwnd, ctrlID, State [TO PrevState]
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 ... |
||||||||||||||||||||
State |
Number |
No |
Can be one of the following:
|
||||||||||||||||||||
PrevState |
Variable |
Yes |
If the optional TO clause is included, the PrevState variable is assigned the value zero if the control was previously not visible, or non-zero if it was previously visible. |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |