Versions Compared

Key

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

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths14%, 15%, 14%, 13%, 44%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

Return value

integer

Examples

Code Block
languagetext
// Create a Text 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.

...


$controlId = `createTextBox $windowId-text "This is some text!" -pos $rect`;

Additional information

Related commands

...