ctrlSetForegroundColor: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.5|= Game version | |||
____________________________________________________________________________________________ | |||
| Sets background color of given control. Color is in format [[Color]]. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | display '''ctrlSetForegroundColor''' color |= Syntax | ||
|p1= display [[Control]] |= Parameter 1 | |||
|p2= color [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_control ctrlSetForegroundColor [1, 0, 0, 1]</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|CTRLSETFOREGROUNDCOLOR]] | |||
[[Category:Scripting Commands ArmA|CTRLSETFOREGROUNDCOLOR]] | |||
Revision as of 23:30, 1 August 2006
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