ComboBoxSetFontStyle

HC GUI programming ComboBoxes ComboBoxSetFontStyle
ComboBoxSetFontName ComboBoxSetFontWeight

ComboBoxSetFontStyle acombobox style


Command to set the font style of the ComboBox acombobox.

style can be one of the constants wxFONTSTYLE_NORMAL wxFONTSTYLE_SLANT wxFONTSTYLE_ITALIC.

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])
ComboBoxSetFontStyle cb wxFONTSTYLE_ITALIC

Reference:

ComboBoxSetFontName ComboBoxSetFontWeight