ctrlSetFontH5: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
 
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(64 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CTRLSETFONTH5]]
{{RV|type=command
[[Category:Scripting Commands ArmA|CTRLSETFONTH5]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">'''''control'' ctrlSetFontH5 ''name'''''</h2>
|game2= arma2
|version2= 1.00


|game3= arma2oa
|version3= 1.50


'''Operand types:'''
|game4= tkoh
|version4= 1.00


'''control'''': [[Control]]
|game5= arma3
|version5= 0.50


'''name''': [[String]]
|gr1= GUI Control - HTML


'''Type of returned value:'''
|descr= Sets H5 font of given HTML control.


[[Nothing]]
|s1= controlName [[ctrlSetFontH5]] fontName


'''Compatibility:'''
|p1= controlName: [[Control]]


Version 2.50 required.
|p2= fontName: [[String]]


'''Description:'''
|r1= [[Nothing]]


Sets H5 font of given HTML control. 
|x1= <sqf>_control ctrlSetFontH5 "TahomaB";</sqf>


'''Example''':
|seealso= [[ctrlSetFontH1B]] [[ctrlSetFontH2]] [[ctrlSetFontH2B]] [[ctrlSetFontH3]] [[ctrlSetFontH3B]] [[ctrlSetFontH4]] [[ctrlSetFontH4B]] [[ctrlSetFontH5B]] [[ctrlSetFontH6]] [[ctrlSetFontH6B]]
 
}}
_control '''ctrlSetFontH5''' "TahomaB"

Latest revision as of 23:42, 28 June 2022

Hover & click on the images for description

Description

Description:
Sets H5 font of given HTML control.
Groups:
GUI Control - HTML

Syntax

Syntax:
controlName ctrlSetFontH5 fontName
Parameters:
controlName: Control
fontName: String
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFontH5 "TahomaB";

Additional Information

See also:
ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5B ctrlSetFontH6 ctrlSetFontH6B

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