Setup Factory 10

DlgComboBox.InsertItem

DlgComboBox.InsertItem

This is the first topic This is the last topic  

DlgComboBox.InsertItem

This is the first topic This is the last topic  

OverviewExamples

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


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us