
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_ListBox_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_ListBox_GetItemData ProjectFile [as String] DialogName [as String] ControlName [as String] nItemIndex [as Integer]) |
Copy Code |
|---|
; Get the user-defined data of the 4th item (setq rValue (Odcl_ListBox_GetItemData MyProject_MyForm_MyControl 3)) |
ListBox_AddList, ListBox_AddString, ListBox_Clear, ListBox_DeleteString, ListBox_GetCount, ListBox_InsertString, ListBox_SetItemData