"appendItem_combo"

Adds an item to the combo box, spin button, radio box or check box.

Synopsis

setValue( string shape, "appendItem", langString s);

shape.appendItem( langString s);

Parameters

Parameter Description
shape Name of the object
s Character string, text to be appended.

Description

This function adds an extra item to the end of the combo box.

Example

The function adds the item "e34"; to the combo box named "COMBO_BOX1".

main()
{
  shape cb=getShape("COMBO_BOX1");
  cb.appendItem("e34");
}

Assignment

Combo box, spin button, check box, radio box