
This method will add a color to the specified ComboBox that has the Style property set to 4 - Color.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ComboBox_AddColor MyControlReference [as Reference] nNewColor [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_AddColor ProjectFile [as String] DialogName [as String] ControlName [as String] nNewColor [as Integer] ) |
This method works only for the colors style.
Copy Code |
|---|
; Add a new color to the combobox (Odcl_ComboBox_AddColor MyProject_MyForm_MyControl 4) |