Help Contents / GUI programming / StaticTexts / StaticTextSetFontWeight

StaticTextSetFontWeight astatictext weight

Command to set the font weight of the StaticText astatictext. 

weight can be one of the constants wxFONTWEIGHT_NORMAL wxFONTWEIGHT_LIGHT wxFONTWEIGHT_BOLD 

Example: 

	s=(StaticText [][This is a static Text] 
		wxAlign_centre [100 200][100 100][Text1]) 
	StaticTextSetFontWeight f wxFONTWEIGHT_BOLD 


previous: StaticTextSetFontStyle
