Versions Compared

Key

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

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths20%, 10%, 13%, 57%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

integer

Scroll pagebreak

Examples

Code Block
languagetext
// Delete an item in a List Box User Control.

...


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

...


 

...

// Add some items to the List Box.

...


addListBoxItem $controlId "Item 1";

...


addListBoxItem $controlId "Item 2";

...


addListBoxItem $controlId "Item 3";

...


addListBoxItem $controlId "Item 4";

...


 

...

// Delete the second and third items.

...


deleteListBoxItem $controlId 1;

...


deleteListBoxItem $controlId "Item 3";

Additional information

Related commands

...