TextControlSetColor

HC GUI programming TextControls TextControlSetColor
TextControlOverwriteMode TextControlSetBackgroundColor

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

Reference:

TextControlOverwriteMode TextControlSetBackgroundColor