DlgComboBox.GetItemText

string DlgComboBox.GetItemText ( 

number ControlID,

number Index )

Example 1

sText = DlgComboBox.GetItemText(CTRL_COMBOBOX_01, 2);

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

Example 2

sItemText = DlgComboBox.GetItemText(nControlID, nIndex);

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

 

See also:  Related Actions