DlgComboBox.GetItemData

string DlgComboBox.GetItemData ( 

number ControlID,

number Index )

Example 1

sData = DlgComboBox.GetItemData(CTRL_COMBOBOX_01, 2);

Gets the data from the second item in the combo box control with id CTRL_COMBOBOX_01 and stores it in string "sData".

Example 2

sItemData = DlgComboBox.GetItemData(nControlID, nIndex);

Gets the data of the index referenced in variable "nIndex" from the control whose id is stored in variable "nControlID".  The data is stored in string "sItemData".

See also:  Related Actions