ComboBoxValue

Help Contents GUI programming ComboBoxes ComboBoxValue
ComboBoxCount ComboBoxSetValue

ComboBoxValue
(ComboBoxValue acombobox)


outputs the text in the edit control of the ComboBox acombobox or if called without argument, of the ComboBox whose event is being processed lately.

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])

Examples:

References:

ComboBoxCount ComboBoxSetValue