Skip to main content

escapeKey

Type​

message

Summary​

Sent when the user presses the Escape key.

Syntax​

escapeKey

Description​

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

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

Examples​

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

message: keyDown

glossary: Escape key, message

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?