Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted by ConfluenceCloudBulkEditor.py

...

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

NameFlag argumentsArgument typeExclusive toComments
change1stringSpecifies the script to call when the user changes the value of the num box.
loseFocus1stringSpecifies the script to call when the num box loses the input focus.

Return value

void

Examples

...

// Set the event handler for the User Num Box.

...


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 = `createNumBox $windowId`;

...


// Save the control ID to our profile, so we can retrieve it

...


// from the event handler

...


writeProfileInt "MyWindowSection" "NumBoxId" $controlId;

...


// Set the -loseFocus event handler for the Num Box. When

...


// the user clicks (or Tabs) out of Num Box item, this script will be

...


// executed. NumBoxLoseFocusHandler must reside in one of

...


// the scripts directories.

...


setNumBoxHandler $controlId -loseFocus "NumBoxLoseFocusHandler";

Additional information

Related commands

...