Arma 3 Scripting

Command in GUI Control

ctrlSetDisabledColor

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets the colorDisabled attribute of a control.

Syntax

Syntax 1

ctrlSetDisabledColor [idc, color]

Parameters:

Returns: Nothing

Syntax 2

ctrl ctrlSetDisabledColor color

Parameters:

Returns: Nothing

Examples

Example 1

_control ctrlSetDisabledColor [0.5, 0.5, 0.5, 0.5];

See also

ctrlSetActiveColor · ctrlSetBackgroundColor · ctrlTextColor