...
Scroll tablelayout | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
void
Scroll pagebreak |
---|
Examples
Code Block | ||
---|---|---|
| ||
// Set the event handler for the User Color Picker. |
...
int $windowId; |
...
int $controlId; |
...
...
// First create a User Window to place the Control on |
...
$windowId = `createWindow "MyWindow"`; |
...
...
// Create the User Control on the Window. |
...
$controlId = `createColorPicker $windowId`; |
...
...
// Save the control ID to our profile, so we can retrieve it |
...
// from the event handler |
...
writeProfileInt "MyWindowSection" "ColorPickerId" $controlId; |
...
...
// Set the -change event handler for the Color Picker. When |
...
// the user changes the color of the Color Picker, this script will be |
...
// executed. ColorPickerChangeHandler must reside in one of |
...
// the scripts directories. |
...
setColorPickerHandler $controlId -change "ColorPickerChangeHandler"; |
Additional information
Related commands
...