TextControlSetFontWeight

HC GUI programming TextControls TextControlSetFontWeight
TextControlSetFontStyle TextControlOnChar

TextControlSetFontWeight aTextControl weight


Command to set the font weight of the TextControl aTextControl.

weight can be one of the constants wxFONTWEIGHT_NORMAL wxFONTWEIGHT_LIGHT wxFONTWEIGHT_BOLD

Example:

t=(TextControl [][TextControl1]
	[This is the initial text.][][]
	wxTE_MULTILINE [0 0][300 200])
TextControlSetFontWeight t wxFONTWEIGHT_BOLD

Reference:

TextControlSetFontStyle TextControlOnChar