You can use the following action statements with list box objects.
Action  | 
Description  | 
add  | 
Creates a list box object at runtime.  | 
add to  | 
Allows you to insert options into the list box at runtime.  | 
change  | 
Replaces all the contents (drawing statements) of an object, or the contents of all the objects in a class.  | 
change window position  | 
Allows you to indicate which block of lines should be displayed. Note that you cannot use change window xposition [of] for list boxes.  | 
clear  | 
Clears out all entries in the list box.  | 
disable  | 
Causes the list box to be grayed and prevents the user from moving to or selecting from the list box.  | 
enable  | 
Causes the list box to be drawn in normal color and allows the user to move to and/or select from the list box.  | 
for each  | 
Allows you to perform a set of actions for each  | 
selected line  | 
selected line in a multiple-selection list box. When in a for each selected line statement, the special inquiry built-in function selected line returns the line number of the currently selected line within the list box.  | 
make helpid  | 
Changes the help ID of the list box.  | 
make parameter  | 
Change parameter string associated with the list box.  | 
read  | 
Inserts the lines of the specified file into the list box. This has the same effect as the insert file statement except that the read statement is executed at runtime.  | 
remove  | 
Removes one or more lines from a list box.  | 
select and deselect  | 
Selects or deselects a given line, a selected line appears in reverse video. If the list box is a single-selection list box, the previously selected line is deselected when a selection is made.  |