Appends the elements of the array item() to the the list of ComboBox comboName.
Parameters:
Name |
Type |
Description |
comboName |
String |
ScreenFieldName of the control. Ctrl+Click onto a ComboBox to retrieve its comboName (= ScreenFieldName) |
item |
String Array |
Array of strings to be appended to the ComboBox list. |
Available in:
WindowMain |
WindowLink |
YES |
YES |
Hint: You can find references to XojoScripts which make use of this function by sending the following SQL statement to the database:
Select id,GUID, ScriptName,ScriptCode from im_scripts where ScriptCode Like '%ComboBoxAddRows%'
Example XojoScript:
Dim items(1) As String
items(0) = "Standard Price"
items(1) = "Member Price"
ComboBoxAddRows("imCO_lnk_p01_CodeCategory",items())