Arma 3 Scripting

ctrlShow

  • Local argument
  • Local effect
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.75

Command · Markdown · JSON · original wiki page

Description

Shows or hides a control, or group of controls together with all the controls inside that group of controls.

Read Arma: GUI Configuration for more information about user dialogs and controls.

Note

Using ctrlShow on a controls group will show or hide all controls within the controls group (including controls that are placed in nested controls groups).

Syntax

Syntax 1

ctrlShow [idc, show]

Parameters:

Returns: Nothing

Syntax 2

control ctrlShow show

Parameters:

Returns: Nothing

Examples

Example 1

ctrlShow [100, false];

Example 2

_control ctrlShow false;

See also

ctrlVisible · ctrlShown · ctrlEnable