ListBoxes

Help Contents GUI programming ListBoxes
IntControlEnable ListBox

ListBoxes

...are little windows containing a text label and a list of text choices, which can run a Logo instructionlist when the user clicks with the mouse on them and selects a choice, and when a key event is received.

A listbox is used to select one or more of a list of strings. The strings are displayed in a scrolling box, with the selected string(s) marked in reverse video. A listbox can be single selection (if an item is selected, the previous selection is removed) or multiple selection (clicking an item toggles the item on or off independently of other selections).

List box elements are numbered from zero. Their number is limited in some platforms (e.g. ca. 2000 on GTK).

The corresponding demo is listboxtest.lg.

ListBoxes

IntControlEnable ListBox