Help Contents / GUI programming / StaticTexts / StaticTextSetColor

StaticTextSetColor astatictext color

Command to set the foreground 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]) 
	StaticTextSetColor s "red 


previous: StaticTextSetLabel	next: StaticTextSetBackgroundColor
