DlgComboBox.SetItemData

DlgComboBox.SetItemData ( 

number ControlID,

number Index,

string ItemData )

Example 1

DlgComboBox.SetItemData(CTRL_COMBOBOX_01, 2, "I'm number two!, YES, I'm number TWO!");

Sets the data in the second item in the combo box control with id CTRL_COMBOBOX_01 to "I'm number two!, YES, I'm number TWO!".

Example 2

DlgComboBox.SetItemData(nControlID, nIndex, sData);

Sets the data of the index referenced in variable "nIndex" for the control who's ID is referenced in variable "nControlID" to the string stored in "sData".

See also:  Related Actions