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


| arma |= Game name


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


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


'''Operand types:'''
| display '''ctrlSetForegroundColor''' 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 ctrlSetForegroundColor [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 background color of given control.
<h3 style="display:none">Bottom Section</h3>


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

Revision as of 00:30, 2 August 2006

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

Description

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

Syntax

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

Examples

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