# List Box Controls

Variable List Box Control |

VARLIST_BOX ctl_id, @(col,ln,wth,ht) [, ctrlopt ]
VARLIST_BOX { REMOVE | DISABLE | ENABLE } ctl_id
VARLIST_BOX { GOTO | HIDE | SHOW | AUTO } ctl_id
VARLIST_BOX SET_FOCUS ctl_id, ctl_val
VARLIST_BOX LOAD ctl_id, dlm_list$
VARLIST_BOX LOAD ctl_id, array_name$ {ALL}
VARLIST_BOX LOAD ctl_id, index, {element$ | * }
VARLIST_BOX FIND ctl_id, index,var$
VARLIST_BOX READ ctl_id, var$ [, mode$ ]
VARLIST_BOX READ ctl_id, var [, mode$ ]
VARLIST_BOX WRITE ctl_id, element$
VARLIST_BOX WRITE ctl_id, index
VARLIST_BOX WRITE ctl_id, ""

A variable list box is a Standard list box that allows the user to select any element from the list of items and/or enter any other value. For syntax details, see VARLIST_BOX directive.

For examples on how to process a Standard list box, see List Box.

For information on adding a variable list box to a panel using the NOMADS Panel Designer, see List Box Controls.

For a list of properties that can be applied to a variable list box, see Varlist_Box Properties.

Example:

> VARLIST_BOX 100,@(12,8,12,6)
> VARLIST_BOX LOAD 100,"Cat/Dog/Pig/"