Versions Compared

Key

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

...

NameFlag argumentsArgument typeExclusive toComments
selChange1stringThe script that the command will be referencing.

Return value

void

Examples

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

...