ctrlSetBackgroundColor: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
||
Line 30: | Line 30: | ||
}} | }} | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> |
Revision as of 14:09, 17 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