escapeKey

Sent when the user presses the Escape key.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security:

# Syntax

escapeKey

# Examples

on escapeKey -- return to the last card visited go recent card end escapeKey

# Description

Handle the escapeKey message if you want to perform some action when the user presses Escape key.

The message is sent to the active (focused) control, or to the current card if no control is focused.

# Tags

ui,

# See

- **glossary:** Escape key, message - **message:** keyDown