Help Contents / GUI programming / TextControls / TextControlSetColor

TextControlSetColor aTextControl color

Command to set the foreground color of the TextControl aTextControl to color, which must be a valid color (see SetPenColor!). 

Example: 

	t=(TextControl [][TextControl1] 
		[This is the initial text.][][] 
		wxTE_MULTILINE [0 0][300 200]) 
	TextControlSetColor t "red 


previous: TextControlOverwriteMode	next: TextControlSetBackgroundColor
