ctrlSetFont: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (merged all the SetFontXXX commands)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the main font of given control. |= 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
 
|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Control]]''' ctrlSetFont''' "FontName" |= 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"
 


|p1=  [[Control]] |= Parameter 1
|p1=  [[Control]] |= Parameter 1

Revision as of 10:20, 27 August 2007

-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