ctrlSetFontH2B: 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|CTRLSETFONTH2B]]
{{RV|type=command
[[Category:Scripting Commands ArmA|CTRLSETFONTH2]]
{{ArmA-disclaimer}}


<h2 style="color:#000066">'''''control'' ctrlSetFontH2B ''name'''''</h2>
|game1= arma1
|version1= 1.00


|game2= arma2
|version2= 1.00


'''Operand types:'''
|game3= arma2oa
|version3= 1.50


'''control'''': [[Control]]
|game4= tkoh
|version4= 1.00


'''name''': [[String]]
|game5= arma3
|version5= 0.50


'''Type of returned value:'''
|gr1= GUI Control - HTML


[[Nothing]]
|descr= Sets H2 bold font of given HTML control.


'''Compatibility:'''
|s1= controlName [[ctrlSetFontH2B]] fontName


Version 2.50 required.
|p1= controlName: [[Control]]


'''Description:'''
|p2= fontName: [[String]]


Sets H2 bold font of given HTML control.
|r1= [[Nothing]]


|x1= <sqf>_control ctrlSetFontH2B "TahomaB";</sqf>


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

Latest revision as of 22:43, 28 June 2022

Hover & click on the images for description

Description

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

Syntax

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

Examples

Example 1:
_control ctrlSetFontH2B "TahomaB";

Additional Information

See also:
ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 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