
This method will add a new item to the specified ImageCombo.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ImageComboBox_AddString MyControlReference [as Reference] sNewString [as String] nImage [as Integer] [Optional] nSelectedImage [as Integer] [Optional] nIndent [as Integer] [Optional] nIndex [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_ImageComboBox_AddString ProjectFile [as String] DialogName [as String] ControlName [as String] sNewString [as String] nImage [as Integer] [Optional] nSelectedImage [as Integer] [Optional] nIndent [as Integer] [Optional] nIndex [as Integer] ) |
Copy Code |
|---|
; Add to the combobox (Odcl_ImageComboBox_AddString MyProject_MyForm_MyControl "Grapefruit" 0 1) |
ImageComboBox_Clear, ImageComboBox_DeleteString, ImageComboBox_GetCount, ImageComboBox_GetItemData, ImageComboBox_SetItemData