ComboBoxOnEnter

Help Contents GUI programming ComboBoxes ComboBoxOnEnter
ComboBoxOnChange ComboBoxEnable

ComboBoxOnEnter acombobox commands


Command to set the custom event handler for the enter key event of the ComboBox acombobox to commands. The text enter event is generated when the user presses the enter or the return key.

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])
ComboBoxOnEnter cb [pr ComboBoxValue]

Reference:

ComboBoxOnChange ComboBoxEnable