ctrlSetFontP: Difference between revisions

From Bohemia Interactive Community
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]]  |= PARAMETER1
|p1= control: [[Control]]  |PARAMETER1=  


|p2= fontOrSize: [[String]] or [[Number]]  |= PARAMETER2
|p2= fontOrSize: [[String]] or [[Number]]  |PARAMETER2=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




|x1= <code>_control [[ctrlSetFontP]] "TahomaB"</code>|= EXAMPLE1
|x1= <code>_control [[ctrlSetFontP]] "TahomaB"</code>|EXAMPLE1=  
|x2= <code>_control [[ctrlSetFontP]] 0.05</code>|= EXAMPLE2
|x2= <code>_control [[ctrlSetFontP]] 0.05</code>|EXAMPLE2=


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ctrlSetFontHeightSecondary]] [[ctrlSetFontSecondary]] |= SEEALSO
| [[ctrlSetFontHeightSecondary]] [[ctrlSetFontSecondary]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:30, 7 April 2019

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

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

See also:
ctrlSetFontHeightSecondary ctrlSetFontSecondary

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