ListBoxSetChoices

HC GUI programming ListBoxes ListBoxSetChoices
ListBoxSetSelections ListBoxAppend

ListBoxSetChoices alistbox choices


Command to set the contents of the ListBox alistbox to choices.

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

Example:

lb=ListBox [][LB] [][][]
ListBoxSetChoices lb [
	[First string]
	[and a second string]
	[and the last string]
]

Reference:

ListBoxSetSelections ListBoxAppend