Help Contents / GUI programming / TextControls / TextControlSetBackgroundColor

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 


previous: TextControlSetColor	next: TextControlSetFontSize
