ctrlSetFontP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
mNo edit summary
Line 6: Line 6:
|1.00|Game version=
|1.00|Game version=


|gr1= GUI Control |GROUP1=
|gr1= GUI Control - HTML |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 21:




|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=
____________________________________________________________________________________________
}}
}}



Revision as of 10:21, 27 September 2020

-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:
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

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