ctrlSetFontP: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 16: | Line 16: | ||
| [[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 17:20, 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