...
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
selChange | 1 | string | — | The script that the command will be referencing. |
Return value
void
Examples
...
language | text |
---|
// Set the event handler for the User Num Box.
...
int $windowId;
...
int $controlId;
...
// Create a Tab controller and forms to associate with the tabs.
...
int $mainTab;
...
int $mainForm;
...
int $secondForm;
...
int $thirdForm;
...
// First create a User Window to place the Control on
...
$windowId = `createWindow "MyWindow"`;
...
//create a main tab controller with a second and third tab
...
$mainTab = `createTab $windowId "Main" "Second" "Third" -sel 2`;
...
// Set the -selChange event handler for the setTabHandler. When
...
// the user switches tabs, this script will be
...
// executed. setTabHandler must reside in one of
...
// the scripts directories.
...
setTabHandler $mainTab -selChange " SetTabHandler";
Additional information
Related commands
...