ctrlSetFontP: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| control '''ctrlSetFontP''' fontOrSize |= Syntax | | control '''ctrlSetFontP''' fontOrSize |= Syntax | ||
|p1= control: [[Control]] |= | |p1= control: [[Control]] |PARAMETER1= | ||
|p2= fontOrSize: [[String]] or [[Number]] |= | |p2= fontOrSize: [[String]] or [[Number]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_control [[ctrlSetFontP]] "TahomaB"</code>|= | |x1= <code>_control [[ctrlSetFontP]] "TahomaB"</code>|EXAMPLE1= | ||
|x2= <code>_control [[ctrlSetFontP]] 0.05</code>|= | |x2= <code>_control [[ctrlSetFontP]] 0.05</code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[ctrlSetFontHeightSecondary]] [[ctrlSetFontSecondary]] |= | | [[ctrlSetFontHeightSecondary]] [[ctrlSetFontSecondary]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:30, 7 April 2019
Description
- Description:
- Sets P font of given HTML control or its size.
- Groups:
- Uncategorised
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