ctrlSetActiveColor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
m (display -> control)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| display '''ctrlSetActiveColor''' color |SYNTAX=
| control '''ctrlSetActiveColor''' color |SYNTAX=


|p1= display: [[Control]] |PARAMETER1=
|p1= control: [[Control]] |PARAMETER1=


|p2= color: [[Array]] (format [[Color]]) |PARAMETER2=
|p2= color: [[Array]] (format [[Color]]) |PARAMETER2=

Revision as of 17:14, 25 March 2020

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

Description

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

Syntax

Syntax:
control ctrlSetActiveColor color
Parameters:
control: Control
color: Array (format Color)
Return Value:
Nothing

Examples

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

Additional Information

See also:
allControlsallDisplayscontrolsGroupCtrlctrlDeletectrlModelctrlSetModelctrlPositionctrlSetPositionctrlClassNamectrlModelScalectrlSetModelScalectrlModelDirAndUpctrlSetModelDirAndUpdisplayParent

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