ctrlSetFont: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CTRLSETFONT]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|CTRLSETFONT]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''control'' ctrlSetFont ''name'''''</h2>
|2.5|= Game version
____________________________________________________________________________________________


| Sets the main font of given control. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| control '''ctrlSetFont''' name |= Syntax


'''control'''': [[Control]]
|p1= control' [[Control]] |= Parameter 1


'''name''': [[String]]
|p2= name [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_control ctrlSetFont "TahomaB"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.50 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Sets the main font of given control.
<h3 style="display:none">Bottom Section</h3>


 
[[Category:Scripting Commands|CTRLSETFONT]]
'''Example''':
[[Category:Scripting Commands ArmA|CTRLSETFONT]]
 
_control '''ctrlSetFont''' "TahomaB"

Revision as of 23:17, 1 August 2006

-wrong parameter ("Arma") defined!-2.5
Hover & click on the images for description

Description

Description:
Sets the main font of given control.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetFont name
Parameters:
control' Control
name String
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFont "TahomaB"

Additional Information

See also:
See also needed

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