ctrlSetTextColor: 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|CTRLSETTEXTCOLOR]]
{{Command|= Comments
[[Category:Scripting Commands ArmA|CTRLSETTEXTCOLOR]]
____________________________________________________________________________________________


| arma |= Game name


<h2 style="color:#000066">'''''display'' ctrlSetTextColor ''color'''''</h2>
|2.5|= Game version
____________________________________________________________________________________________


| Sets text color of given control. Color is in format [[Color]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| display '''ctrlSetTextColor''' color |= Syntax


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


'''color:''' [[Array]]
|p2= color: [[Array]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_control ctrlSetTextColor [1, 0, 0, 1]</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 text color of given control.
<h3 style="display:none">Bottom Section</h3>


Color is in format [[Color]].
[[Category:Scripting Commands|CTRLSETTEXTCOLOR]]
 
[[Category:Scripting Commands ArmA|CTRLSETTEXTCOLOR]]
 
'''Example''':
   
_control '''ctrlSetTextColor''' [1, 0, 0, 1]

Revision as of 00:33, 2 August 2006

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

Description

Description:
Sets text color of given control. Color is in format Color.
Groups:
Uncategorised

Syntax

Syntax:
display ctrlSetTextColor color
Parameters:
display: Control
color: Array
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetTextColor [1, 0, 0, 1]

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