
This method will retrieve the associated item data for the indicated list item.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ComboBox_GetItemData MyControlReference [as Reference] nItemIndex [as Integer]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_ComboBox_GetItemData ProjectFile [as String] DialogName [as String] ControlName [as String] nItemIndex [as Integer]) |
This method does not work for directory picker style.
Copy Code |
|---|
; Get the user-defined data of the 4th item (setq rValue (Odcl_ComboBox_GetItemData MyProject_MyForm_MyControl 3)) |
ComboBox_AddList, ComboBox_AddString, ComboBox_Clear, ComboBox_DeleteString, ComboBox_GetCount, ComboBox_InsertString, ComboBox_SetItemData