Help Contents / GUI programming / ComboBoxes / ComboBoxOnChar

ComboBoxOnChar acombobox commands

Command to set the custom event handler for the char event of the ComboBox acombobox to commands. See also OnChar! 

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]) 
	ComboBoxOnChar cb [pr KeyboardValue] 


previous: ComboBoxSetFontWeight	next: ComboBoxOnKeyDown
