ComboBoxOnChange

HC GUI programming ComboBoxes ComboBoxOnChange
ComboBoxOnSelect ComboBoxOnEnter

ComboBoxOnChange acombobox commands


Command to set the custom event handler for the change text event of the ComboBox acombobox to commands. The change text event is generated when the user types some text into the edit control.

Example:

cb=(ComboBox [][MyComboBox][Initial string]
	[	[String 1]
		[and a second string]
		[and the last string]
	]
	[	(show "|MyComboBox| ComboBoxSelection)
	]
	[	(pr [change] ComboBoxValue)
	]
	[	v=ComboBoxValue
		(pr [enter] v)
		ComboBoxAppend cb v
	]
	wxCB_simple [-1 -1][300 200])
ComboBoxOnChange cb [pr ComboBoxValue]

Reference:

ComboBoxOnSelect ComboBoxOnEnter