ChoiceBox
Help Contents
GUI programming
ChoiceBoxes
ChoiceBox
ChoiceBox parent name choices onSelect
(ChoiceBox parent name choices onSelect style pos size)
outputs a new ChoiceBox and shows it on the parent (a Frame or a Graph, main Graph if []). Unlike a listbox, only the selection is visible until the user pulls down the menu of choices.
name is its label text.
choices is a list of items from whom the user can select one.
onSelect is a Logo instructionlist which will be run when the user selects a choice.
style is the window style, nothing special here, it defaults to zero.
pos is the position of the ChoiceBox (a list of two integer numbers, x and y),
size is the size of the ChoiceBox (a list of two integer numbers, width and height).
Example:
Examples:
References:
ChoiceBoxEnable(4), ChoiceBoxSelection(3), ChoiceBoxSetChoices(3), ChoiceBoxAppend(2), ChoiceBoxCount(2), ChoiceBoxDestroy(2), ChoiceBoxOnChar(2), ChoiceBoxOnKeyDown(2), ChoiceBoxOnKeyUp(2), ChoiceBoxOnSelect(2), ChoiceBoxRemoveItem(2), ChoiceBoxSetBackgroundColor(2), ChoiceBoxSetColor(2), ChoiceBoxSetFontName(2), ChoiceBoxSetFontSize(2), ChoiceBoxSetFontStyle(2), ChoiceBoxSetFontWeight(2), ChoiceBoxSetItem(2), ChoiceBoxSetSelection(2), ListBox(2), ListControl(2), Release Notes for Version 4.685(2)