...
boolean
Scroll pagebreak |
---|
Examples
Code Block | ||
---|---|---|
| ||
// Show/Hide a control. |
...
int $windowId; |
...
int $controlId; |
...
boolean $wasShowing; |
...
...
// First create a User Window to place the Control on |
...
$windowId = `createWindow "MyWindow"`; |
...
...
// Create a Push Button Control in the window. Create it hidden. |
...
// We will show it later. |
...
$controlId = `createPushButton $windowId -text "Sample" -hidden`; |
...
...
// Show the Control, getting its previous visibility |
...
$wasShowing = `showControl $controlId true`; |
...
print $wasShowing; |
Additional information
Related commands
...