ctrlSetFontSecondary: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________
|game1= arma3
|arma3 |Game name=
|version1= 1.62
|1.62|Game Version=
|arg=
|arg=  |Multiplayer Arguments=
|eff= local
|eff= |Multiplayer Effects=


|gr1= GUI Control |GROUP1=
|gr1= GUI Control
____________________________________________________________________________________________
| Sets the font size of the secondary text of given control. |DESCRIPTION=
____________________________________________________________________________________________
| ctrl [[ctrlSetFontSecondary]] fontClass |SYNTAX=
|p1= ctrl: [[Control]] |PARAMETER1=
|p2= fontClass: [[String]] - Font class |PARAMETER2=
| [[Nothing]] |RETURNVALUE=
|x1= _control [[ctrlSetFontSecondary]] "TahomaB"; |EXAMPLE1=
| [[ctrlSetFontP]] [[ctrlSetFontHeightSecondary]] |SEEALSO=
}}


<dl class='command_description'>
|descr= Sets the font size of the secondary text of given control.
<!-- BEGIN Note Section -->
|s1= ctrl [[ctrlSetFontSecondary]] fontClass
<!-- For example:
<dd class='notedate'>Posted on Month Day, Year - Time (UTC)</dd>
<dt class='note'>'''[[User:User Name|User Name]]'''</dt>
<dd class='note'>This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { hint: Leave it here for others to read; };</code></dd>
-->
<!-- END Note Section -->
</dl>


<h3 style='display:none'>Bottom Section</h3>
|p1= ctrl: [[Control]]
<!-- Appropriate categories go here -->
|p2= fontClass: [[String]] - font class
|r1= [[Nothing]]


[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
|x1= _control [[ctrlSetFontSecondary]] "TahomaB";
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
|seealso= [[ctrlSetFontP]] [[ctrlSetFontHeightSecondary]]
}}

Latest revision as of 15:29, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets the font size of the secondary text of given control.
Groups:
GUI Control

Syntax

Syntax:
ctrl ctrlSetFontSecondary fontClass
Parameters:
ctrl: Control
fontClass: String - font class
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFontSecondary "TahomaB";

Additional Information

See also:
ctrlSetFontP ctrlSetFontHeightSecondary

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