StaticTextSetFontStyle

HC GUI programming StaticTexts StaticTextSetFontStyle
StaticTextSetFontName StaticTextSetFontWeight

StaticTextSetFontStyle astatictext style


Command to set the font style of the StaticText astatictext.

style can be one of the constants wxFONTSTYLE_NORMAL wxFONTSTYLE_SLANT wxFONTSTYLE_ITALIC.

Example:

s=(StaticText [][This is a static Text]
	wxAlign_centre [100 200][100 100][Text1])
StaticTextSetFontStyle s wxFONTSTYLE_ITALIC

Reference:

StaticTextSetFontName StaticTextSetFontWeight