ComboBoxSetFontWeight

HC GUI programming ComboBoxes ComboBoxSetFontWeight
ComboBoxSetFontStyle ComboBoxOnChar

ComboBoxSetFontWeight acombobox weight


Command to set the font weight of the ComboBox acombobox.

weight can be one of the constants wxFONTWEIGHT_NORMAL wxFONTWEIGHT_LIGHT wxFONTWEIGHT_BOLD

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])
ComboBoxSetFontWeight cb wxFONTWEIGHT_BOLD

Reference:

ComboBoxSetFontStyle ComboBoxOnChar