ComboBoxSetValue

HC GUI programming ComboBoxes ComboBoxSetValue
ComboBoxValue ComboBoxSetBackgroundColor

ComboBoxSetValue acombobox text


Command to set the text in the edit control of the ComboBox acombobox to text which will be converted to a word first.

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])
ComboBoxSetValue cb [Hallo World!]

Reference:

ComboBoxValue ComboBoxSetBackgroundColor