Help Contents / GUI programming / ComboBoxes / ComboBoxSetFontName

ComboBoxSetFontName acombobox name

Command to set the font name of the ComboBox acombobox to name, which must be a valid font name. 

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]) 
	ComboBoxSetFontName cb [Courier] 


previous: ComboBoxSetFontSize	next: ComboBoxSetFontStyle
