Versions Compared

Key

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

...

integer

Scroll pagebreak

Examples

Code Block
languagetext
// Get the time value of a Time Box User Control

...


int $windowId;

...


int $controlId;

...


int $time;

...


 

...

// First create a User Window to place the Controls on

...


$windowId = `createWindow "MyWindow"`;

...


 

...

// Create the User Control on the Window.

...


$controlId = `createTimeBox $windowId`;

...


 

...

// Set the time to some arbitrary frame

...


setTimeBoxTime $controlId 125;

...


 

...

// Get the time we just set

...


$time = `getTimeBoxTime $controlId`;

...


print $time;

Additional information

Related commands

...