---
name: "displayParent"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "1.58"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/displayParent
revid: 318897
updated: 2022-05-13T09:22:00Z
---

# displayParent

*Command · GUI Control · Arma 3 v1.58*

## Description

Returns parent display of the given display.

## Syntax

```sqf
displayParent display
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_display = displayParent findDisplay 49; // Display #46
```

## See also

[displayChild](../commands/displayChild.md) · [findDisplay](../commands/findDisplay.md) · [displayCtrl](../commands/displayCtrl.md) · [createDisplay](../commands/createDisplay.md) · [createDialog](../commands/createDialog.md) · [dialog](../commands/dialog.md) · [displayNull](../commands/displayNull.md) · [ctrlCreate](../commands/ctrlCreate.md) · [controlNull](../commands/controlNull.md) · [ctrlParent](../commands/ctrlParent.md) · [ctrlParentControlsGroup](../commands/ctrlParentControlsGroup.md) · [focusedCtrl](../commands/focusedCtrl.md)

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