ctrlSetFontH1: 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>")
 
(46 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|CTRLSETFONTH1]]
{{RV|type=command
[[Category:Scripting Commands ArmA|CTRLSETFONTH1]]


|game1= arma1
|version1= 1.00


<h2 style="color:#000066">'''''control'' ctrlSetFontH1 ''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 H1 font of given HTML control.


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


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


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


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


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


 
|seealso= [[Fonts#Available_Fonts|Fonts]]
'''Example''':
}}
 
_control '''ctrlSetFontH1''' "TahomaB"

Latest revision as of 22:43, 28 June 2022

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_control ctrlSetFontH1 "TahomaB";

Additional Information

See also:
Fonts

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