TextControlSetBackgroundColor

HC GUI programming TextControls TextControlSetBackgroundColor
TextControlSetColor TextControlSetFontSize

TextControlSetBackgroundColor aTextControl color


Command to set the background 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])
TextControlSetBackgroundColor t rgb 1 0 0

Reference:

TextControlSetColor TextControlSetFontSize