4.2 List panels

4.2.1 List interaction

If you select different items in the list, only the last item you select remains highlighted. The way in which the items in a list panel interact upon selection can be controlled with the:interaction keyword.

The list produced in the example above is known as a single-selection list because only one item at a time may be selected. List panels are:single-selectionby default.

There are also multiple-selection and extended-selection lists available. The possible interactions for list panels are:

To get a particular interaction, supply one of the values above to the:interaction keyword, like this:

(contain 
 (make-instance 
  'list-panel 
  :items '("Red" "Green" "Blue") 
  :interaction :multiple-selection)) 


CAPI User Guide, Liquid Common Lisp Version 5.0 - 2 OCT 1997

Generated with Harlequin WebMaker