ChoiceBoxSetChoices

Help Contents GUI programming ChoiceBoxes ChoiceBoxSetChoices
ChoiceBoxSetSelection ChoiceBoxAppend

ChoiceBoxSetChoices achoicebox choices


Command to set the contents of the ChoiceBox achoicebox to choices.

choices must be a list of items, whose texts will be the choices in the ChoiceBox.

Example:

cb=(ChoiceBox [][MyChoiceBox][]
[	(show "|MyChoiceBox| ChoiceBoxSelection)
])
ChoiceBoxSetChoices cb [
	[String 1]
	[and a second string]
	[and the last string]
]

Reference:

ChoiceBoxSetSelection ChoiceBoxAppend