ChoiceBoxOnSelect

HC GUI programming ChoiceBoxes ChoiceBoxOnSelect
ChoiceBoxOnKeyUp ChoiceBoxEnable

ChoiceBoxOnSelect achoicebox commands


Command to set the custom event handler for the select event of the ChoiceBox achoicebox to commands. The select event is generated when the user selects a choice with a mouseclick or a keypress.

Example:

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

Reference:

ChoiceBoxOnKeyUp ChoiceBoxEnable