ctrlSetFont: Difference between revisions
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 | | 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" | | | ||
[[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 09:20, 27 August 2007
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