---
name: "displayCtrl"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/displayCtrl
revid: 379334
updated: 2026-10-30T23:52:42Z
---

# displayCtrl

*Command · GUI Control · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Return child control with specified idc.

## Syntax

### Syntax 1

```sqf
display displayCtrl idc
```

**Parameters:**

- `display`: [Display](../topics/Display.md)
- `idc`: [Number](../topics/Number.md)

**Returns:** [Control](../topics/Control.md)

### Syntax 2

*since arma3 2.06*

```sqf
displayCtrl idc
```

**Parameters:**

- `idc`: [Number](../topics/Number.md)

**Returns:** [Control](../topics/Control.md)

## Examples

### Example 1

```sqf
_displayControl = _ParentDisplay displayCtrl 101;
```

### Example 2

```sqf
_dialogControl = displayCtrl 101;
```

## See also

[findDisplay](../commands/findDisplay.md) · [ctrlCreate](../commands/ctrlCreate.md) · [ctrlDelete](../commands/ctrlDelete.md) · [ctrlModel](../commands/ctrlModel.md) · [ctrlSetModel](../commands/ctrlSetModel.md) · [ctrlPosition](../commands/ctrlPosition.md) · [ctrlSetPosition](../commands/ctrlSetPosition.md) · [ctrlClassName](../commands/ctrlClassName.md) · [ctrlModelScale](../commands/ctrlModelScale.md) · [ctrlSetModelScale](../commands/ctrlSetModelScale.md) · [ctrlModelDirAndUp](../commands/ctrlModelDirAndUp.md) · [ctrlSetModelDirAndUp](../commands/ctrlSetModelDirAndUp.md) · [displayParent](../commands/displayParent.md)

## Community notes

**Demellion** — 2017-05-01

Since **Arma 3 1.42** you can also return a control inside a controls group using [controlsGroupCtrl](../commands/controlsGroupCtrl.md) (created with [ctrlCreate](../commands/ctrlCreate.md) or inside a controls[] of a control config). Example:

```sqf
((uiNamespace getVariable "RscUnitInfo") displayCtrl 2303) controlsGroupCtrl 154; // Display -> Controls Group -> Control
```

Note that control inside controls group having **-1 IDC** currently cannot be returned in any way.

<sub>Source: [BI Community Wiki — displayCtrl](https://community.bistudio.com/wiki/displayCtrl) (revision 379334).</sub>
