<doc>
  <legacy_id>2023</legacy_id>
  <name>escapeKey</name>
  <type>message</type>
  <syntax>
    <example>escapeKey</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <message tag="keyDown">keyDown Message</message>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Sent when the user presses the <glossary tag="Escape key">Escape key</glossary>.</summary>
  <examples>
    <example>on escapeKey <code><i>-- return to the last card visited</i></code></p><p>  go recent card</p><p>end escapeKey</example>
  </examples>
  <description>
    <p>Handle the <b>escapeKey</b> <keyword tag="message box">message</keyword> if you want to perform some action when the user presses <glossary tag="Escape key">Escape</glossary>.</p><p/><p><b>Comments:</b></p><p>The message is sent to the active (focused) control, or to the current card if no control is focused. </p>
  </description>
</doc>