FormComboBoxGetItems
PowerScript function
Description
Gets the list of items from the dropdown of a combobox field.
Applies to
Syntax
|
1 |
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 |
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:
|
1 2 3 4 5 6 |
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[]) |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest