Help Contents / GUI programming / TextControls / TextControlSetFontName

TextControlSetFontName aTextControl size

Command to set the font name of the TextControl aTextControl to name, which must be a valid font name. 

Example: 

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


previous: TextControlSetFontSize	next: TextControlSetFontStyle
