ChoiceBoxCount

Help Contents GUI programming ChoiceBoxes ChoiceBoxCount
ChoiceBoxRemoveItem ChoiceBoxSetBackgroundColor

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

Reference:

ChoiceBoxRemoveItem ChoiceBoxSetBackgroundColor