DlgComboBox.InsertItem

number DlgComboBox.InsertItem ( 

number ControlID,

number Index,

string ItemText )

Example 1

DlgComboBox.InsertItem(CTRL_COMBOBOX_02, 1, "I am an item, now in position 1!!");

Inserts an item into the '02' combo box control at position 1 with text "I am an item, now in position 1!!".

Example 2

DlgComboBox.InsertItem(nControlID, -1, sItem);

Inserts an item with item text stored in the variable "sItem" into the combo box control whose control ID is referenced in variable "nControlID".  The item is inserted at the end of the list.

See also:  Related Actions