Help Contents / GUI programming / ListBoxes / ListBoxSetChoices

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] 
	] 


previous: ListBoxSetSelections	next: ListBoxAppend
