escapeKey

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
escapeKey
Associationscard, field
Summary

Sent when the user presses the Escape key.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
on escapeKey -- return to the last card visited
  go recent card
end escapeKey
RelatedGlossary: Escape key, message
Message: keyDown
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.

Tagsui