[previous] [up] [next]     [index]
Next: set Up: list-box Previous: number-of-visible-items

select

Selects or deselects a item. For selection in a single-selection list box, if a different choice is currently selected, it is automatically deselected. For selection in a multiple-selection list box, other selections are preserved, unlike set-selection.

A list box's selection can be changed by the user clicking the control, and such changes do not go through this method; use the control callback procedure (provided as an initialization argument) to monitor selection changes.

The control's callback procedure is not invoked.



PLT