Help Contents / GUI programming / TextControls / TextControlSetFontStyle

TextControlSetFontStyle aTextControl style

Command to set the font style of the TextControl aTextControl. 

style can be one of the constants wxFONTSTYLE_NORMAL wxFONTSTYLE_SLANT wxFONTSTYLE_ITALIC. 

Example: 

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


previous: TextControlSetFontName	next: TextControlSetFontWeight
