ctrlSetActiveColor: 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 text color of given control when control is selected. Color is in format [[Color]]. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | display '''ctrlSetActiveColor''' color |= Syntax | ||
|p1= display: [[Control]] |= Parameter 1 | |||
|p2= color: [[Array]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>_control ctrlSetActiveColor [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|CTRLSETACTIVECOLOR]] | |||
[[Category:Scripting Commands ArmA|CTRLSETACTIVECOLOR]] | |||
Revision as of 23:16, 1 August 2006
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