---
name: "displayRemoveAllEventHandlers"
type: command
status: ok
groups: ["GUI Control - Event Handlers", "Event Handlers"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/displayRemoveAllEventHandlers
revid: 319041
updated: 2022-05-13T09:22:14Z
---

# displayRemoveAllEventHandlers

*Command · GUI Control - Event Handlers, Event Handlers · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Remove all event handlers from the given display.

## Syntax

```sqf
display displayRemoveAllEventHandlers eventName
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
findDisplay 46 displayRemoveAllEventHandlers "KeyDown";
```

## See also

[displayAddEventHandler](../commands/displayAddEventHandler.md) · [displayRemoveEventHandler](../commands/displayRemoveEventHandler.md)

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