ctrlSetFont

From Bohemia Interactive Community
Revision as of 10:20, 27 August 2007 by Mikero (talk | contribs) (merged all the SetFontXXX commands)
Jump to navigation Jump to search
-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets the font of given control.
  • ctrlSetFont sets the main font.
  • ctrlSetFontH1 sets the H1 font of given HTML control
  • ctrlSetFontH1B sets the H1 font of given HTML control
  • and so on
Groups:
Uncategorised

Syntax

Syntax:
Control ctrlSetFont "FontName" Control ctrlSetFontH1 "FontName" Control ctrlSetFontH2 "FontName" Control ctrlSetFontH3 "FontName" Control ctrlSetFontH4 "FontName" Control ctrlSetFontH5 "FontName" Control ctrlSetFontH6 "FontName" Control ctrlSetFontH1B "FontName" Control ctrlSetFontH2B "FontName" Control ctrlSetFontH3B "FontName" Control ctrlSetFontH4B "FontName" Control ctrlSetFontH5B "FontName" Control ctrlSetFontH6B "FontName"
Parameters:
Control
FontName: String
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFont "TahomaB"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section