Description
Gets the list of items from the dropdown of a combobox field.
Applies to
Syntax
rtename.FormComboBoxGetItems(integer fieldID, ref string items[])
|
Argument |
Description |
|---|---|
|
fieldID |
The unique ID assigned to the combobox field. |
|
items[] |
The item options in the combobox dropdown that display when the user clicks at the combobox field. |
Return value
Integer.
Returns 1 if it succeeds. Returns -1 if an error occurs. Returns -2 if the fieldID is non-existent, illegal, or not of the required type. If any argument's value is null, returns null.
Examples
This example gets the list of items from a combobox form field:
integer li_rtn,li_formid
string ls_items[]
ls_items[] = {"A", "B", "C"}
li_formid = rte_1.FormComboBoxInsert(ls_items[],1,false)
li_rtn = rte_1.FormComboBoxGetItems(li_formid,ls_items[])


