...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Return value
integer
Examples
Code Block | ||
---|---|---|
| ||
// Create a time box user control. |
...
int $windowId; |
...
int $controlId; |
...
int $rect[4]; |
...
int $playEnd; |
...
...
// First create a user window to place the Control on |
...
$windowId = `createWindow "MyWindow"`; |
...
...
// Specify the size of the Control - 100 units wide |
...
$rect[0] = 20; // Left |
...
$rect[1] = 20; // Top |
...
$rect[2] = 120; // Right |
...
$rect[3] = 40; // Bottom |
...
...
// Get the end of the play range |
...
$playEnd = `getPlayEnd`; |
...
...
// Create the Control on the Window, passing |
...
// in the Window Id of the user window we |
...
// just created. Set the frame number to be |
...
// the end of the play range. |
...
$controlId = `createTimeBox $windowId-pos $rect -frame $playEnd`; |
Scroll pagebreak |
---|
Additional information
...