ctrlSetFontP: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= GUI Control - HTML | |gr1= GUI Control - HTML | ||
| Sets P font of given HTML control or its size. | | Sets P font of given HTML control or its size. | ||
| control '''ctrlSetFontP''' fontOrSize | | control '''ctrlSetFontP''' fontOrSize | ||
|p1= control: [[Control]] | |p1= control: [[Control]] | ||
|p2= fontOrSize: [[String]] or [[Number]] | |p2= fontOrSize: [[String]] or [[Number]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>_control [[ctrlSetFontP]] "TahomaB";</code> | |x1= <code>_control [[ctrlSetFontP]] "TahomaB";</code> | ||
|x2= <code>_control [[ctrlSetFontP]] 0.05;</code> | |x2= <code>_control [[ctrlSetFontP]] 0.05;</code> | ||
| [[ctrlSetFontHeightSecondary]] [[ctrlSetFontSecondary]] | | [[ctrlSetFontHeightSecondary]] [[ctrlSetFontSecondary]] | ||
}} | }} | ||
Revision as of 00:28, 18 January 2021
Description
- Description:
- Sets P font of given HTML control or its size.
- Groups:
- GUI Control - HTML
Syntax
- Syntax:
- control ctrlSetFontP fontOrSize
- Parameters:
- control: Control
- fontOrSize: String or Number
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetFontP "TahomaB";
- Example 2:
_control ctrlSetFontP 0.05;
Additional Information
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