Help Contents / GUI programming / ChoiceBoxes / ChoiceBoxCount

ChoiceBoxCount achoicebox

outputs the number of choices in the ChoiceBox achoicebox. 

Example: 

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


previous: ChoiceBoxRemoveItem	next: ChoiceBoxSetBackgroundColor
