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


| arma |= Game name


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


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


'''Operand types:'''
| display '''ctrlSetActiveColor''' 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 ctrlSetActiveColor [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 when control is selected.
<h3 style="display:none">Bottom Section</h3>


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

Revision as of 23:16, 1 August 2006

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

Description

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

Syntax

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

Examples

Example 1:
_control ctrlSetActiveColor [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