...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
void
Scroll pagebreak |
---|
Examples
Code Block | ||
---|---|---|
| ||
// Set the value on a Num Box User Control |
...
int $windowId; |
...
int $controlId; |
...
float $val; |
...
...
// First create a User Window to place the Control on |
...
$windowId = `createWindow "MyWindow"`; |
...
...
// Create the User Control on the Window. |
...
$controlId = `createNumBox $windowId`; |
...
...
// Set the value on the Num Box. Because the Num Box |
...
// was not created with the -flt flag, we are really |
...
// setting the value to be -10. |
...
setNumBoxNum $controlId -10.75; |
...
// Should be -10 |
...
$val = `getNumBoxNum $controlId`; |
...
print $val; |
Additional information
Related commands
...