StaticTextSetBackgroundColor

Help Contents GUI programming StaticTexts StaticTextSetBackgroundColor
StaticTextSetColor StaticTextSetFontSize

StaticTextSetBackgroundColor astatictext color


Command to set the background color of the StaticText astatictext to color, which must be a valid color (see SetPenColor!).

Example:

s=(StaticText [][This is a static Text]
	wxAlign_centre [100 200][100 100][Text1])
StaticTextSetBackgroundColor s rgb 1 0 0

Reference:

StaticTextSetColor StaticTextSetFontSize