<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Commands > 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