"deleteAllItems"

Deletes all box options.

Synopsis

setValue(string shape, "deleteAllItems");

shape.deleteAllItems();

Parameters

Parameter Description
shape Name of the object

Description

Removes all items from the combo box.

Example

The following example deletes all items in the box and adds a number of options.

 main()
{
  shape cb=getShape("COMBO_BOX1");
  cb.deleteAllItems();
  cb.appendItem("Automatic");
  cb.appendItem("Manual");
}

Assignment

Combo box