| ProLinga-4GL Reference Manual |
|---|
LIST — Build and manage multi column list boxes.
LIST APPEND store_name VALUE value [value...]
LIST INSERT store_name VALUE value COLNO col_num [ROWNO row_num]
LIST GET store_name VALUE ret_value COLNO col_num [ROWNO row_num]
LIST ROW store_name [ROWNO row_num]
{ UP | DOWN | TOP | BOTTOM | COPY | DELETE }
LIST COLUMN store_name
{ APPEND | DELETE }
[num_cols]
LIST COLUMN store_name COPY [col_num]
LIST COLUMN store_name COLNO col_num
{ LEFT | RIGHT | FIRST | LAST }
LIST GETHEADER store_name COLNO col_num [
LABEL
ret_value_1
TYPE
ret_value_2
SORT
ret_value_3
]
LIST PUTHEADER store_name COLNO col_num [
LABEL
col_label
TYPE
{ Text | Number }
SORT
{ Ascending | Descending | None }
]
The LIST command builds and manages the data store of multi column list boxes and can link a single data store to multiple MCLB widget views on the screen. As soon as the data changes in the data store, changes will be reflected on the screen.
| Any data reference as well as hard coded string holding the name of a data store. |
| Any data reference as well as a hard coded string or numeric value to be placed into the data store. |
| Any data reference that can receive a value from a data store. |
| Any data reference as well as a numeric value holding the number of columns. |
| An existing column number. |
| An existing row number. |
| Any data reference as well as a hard coded string or numeric value to be displayed as a column header. |
| << LET Command | MESSAGE Command >> |