ctrlSetFont: Difference between revisions

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


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


|
| controlName '''ctrlSetFont''' fontName
[[Control]]''' ctrlSetFont''' "FontName"


[[Control]]''' ctrlSetFontH1''' "FontName"


[[Control]]''' ctrlSetFontH2''' "FontName"
|p1=  controlName: [[Control]] |= Parameter 1


[[Control]]''' ctrlSetFontH3''' "FontName"
|p2= fontName: [[String]] |= Parameter 2
 
[[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
 
|p2= FontName: [[String]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 20:31, 21 January 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets the font of given control.
Groups:
Uncategorised

Syntax

Syntax:
controlName ctrlSetFont fontName
Parameters:
controlName: 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