Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths20%, 10%, 13%, 57%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

void

Scroll pagebreak

Examples

Code Block
languagetext
// 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

...