ctrlSetBackgroundColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
||
Line 31: | Line 31: | ||
}} | }} | ||
[[Category:Scripting Commands|CTRLSETBACKGROUNDCOLOR]] | [[Category:Scripting Commands|CTRLSETBACKGROUNDCOLOR]] |
Revision as of 01:35, 18 January 2021
Description
- Description:
- Sets background color of given control. Only affects:
- Groups:
- GUI Control
Syntax
- Syntax:
- control ctrlSetBackgroundColor color
- Parameters:
- control: Control
- color: Array (format Color (RGBA))
- Return Value:
- Nothing
Examples
- Example 1:
_control ctrlSetBackgroundColor [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