Help Contents / GUI programming / ComboBoxes / ComboBoxOnKeyDown

ComboBoxOnKeyDown acombobox commands

Command to set the custom event handler for the key down event of the ComboBox acombobox to commands. See also OnKeyDown! 

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


previous: ComboBoxOnChar	next: ComboBoxOnKeyUp
