ChoiceBoxRemoveItem

HC GUI programming ChoiceBoxes ChoiceBoxRemoveItem
ChoiceBoxSetItem ChoiceBoxCount

ChoiceBoxRemoveItem achoicebox index


Command to remove the choice item at position index from the ChoiceBox achoicebox.

index must be an integer number index >= 0 and index < number of choices in the ChoiceBox.

Example:

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

Reference:

ChoiceBoxSetItem ChoiceBoxCount