Help Contents / GUI programming / ComboBoxes / ComboBoxAppend

ComboBoxAppend acombobox choice

Command to append the text of the thing choice to the choices of ComboBox acombobox. 

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


previous: ComboBoxSetChoices	next: ComboBoxSetItem
