Versions Compared

Key

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

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths19%, 13%, 13%, 55%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

void

Scroll pagebreak

Examples

Code Block
languagetext
// Set the color value of a Color Picker User Control

...


int $windowId; 

...


int $controlId;

...


int $color[3];

...


 

...

// First create a User Window to place the Controls on

...


$windowId = `createWindow "MyWindow"`;

...


 

...

// Create the User Control on the Window.

...


$controlId = `createColorPicker $windowId`;

...


 

...

// Set the default color to red

...


$color[ 0 ] = 255;

...


$color[ 1 ] = 0;

...


$color[ 2 ] = 0;

...


setColorPickerColor $controlId $color;

Additional information

Related commands

...