This document covers the following topics:
Adds several list box items in a List Box Control at once. Does the same for selection box items in a Selection Box Control and column specifications in a Table Control.
Name/Data Type | Explanation |
---|---|
HANDLE OF dialog element | Input
Specifies a dialog element. |
Number of Items (I4) | Input
You can add any number of items. |
Item (list of A253-compatible
values or one-dimensional array) |
Input
Item string(s). |
Response (I4) | Output
Natural error (if applicable). |
DEFINE DATA LOCAL 1 #AMOUNT (I4) 1 #ITEM (A20/1:5) 1 #RESPONSE (I4) END-DEFINE ... #AMOUNT:= 5 #ITEM(1):= 'Berlin' #ITEM(2):= 'Paris' #ITEM(3):= 'London' #ITEM(4):= 'Milan' #ITEM(5):= 'Madrid' PROCESS GUI ACTION ADD-ITEMS WITH #LB-1 #AMOUNT #ITEM(*) GIVING #RESPONSE