Versions Compared

Key

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

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths15%, 15%, 14%, 13%, 43%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

integer

Scroll pagebreak

Examples

Code Block
languagetext
// Create a Check Box User Control.

...


int $windowId;

...


int $controlId; 

...

int $rect[4];

...


 

...

// 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

...


 

...

// Create the Control on the Window, passing

...


// in the Window Id of the User Window we 

...


// just created. Make the Check Box tri-state and set its text

...


$controlId = `createCheckBox $windowId -triState -text "Check Me!" -pos $rect`;

Additional information

Related commands

...