DlgComboBox.RemoveItem

DlgComboBox.RemoveItem ( 

number ControlID,

number Index )

Example 1

DlgComboBox.RemoveItem(CTRL_COMBOBOX_01, -1);

Removes all items from the '01' combo box control.

Example 2

DlgComboBox.RemoveItem(nControlID, 3);

Removes the third item from the combo box control whose control ID is referenced in nControlID.

Example 3

DlgComboBox.RemoveItem(nControlID, nIndex);

Removes the item whose index is referenced in variable "nIndex" from the combo box control whose control ID is referenced in nControlID.

See also:  Related Actions