You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<summary>Sent when the user presses the Enter key, if there is no text <keywordtag="selection">selection</keyword>.</summary>
<examples>
<example>on enterKey <code><i>-- in a stack script, closes the stack on Enter key</i></code></p><p> close me</p><p>end enterKey</example>
</examples>
<description>
<p>Handle the <b>enterKey</b> <keywordtag="message box">message</keyword> when you want to perform an action (such as going to the next <keywordtag="card">card</keyword>) when the user presses Enter .</p><p/><p><b>Comments:</b></p><p>The Enter key is usually located on the numeric keypad. It is a different key from the Return key (confusingly labeled "Enter" on some keyboards), which is usually located above the right-hand Shift key.</p><p/><p>The message is sent to the active (focused) control, or to the current card if no control is focused. If there is a text selection or insertion point in a field and the user presses Enter, the <b>enterInField</b> <keywordtag="message box">message</keyword> is sent to that <keywordtag="field">field</keyword>, and the <b>enterKey</b> <keywordtag="message box">message</keyword> is not sent.</p>