Enable enter & escape keys

Command group Flag affected Reversible Execute on client Platform(s)
Enter data NO YES NO All

Syntax

Enable enter & escape keys

Description

This command enables the Enter key on all platforms; on Windows and Linux, it also enables the Escape key, whereas on macOS it also enables the Escape key and Cmnd-period. It reverses the action of the Disable enter & escape keys command.

In some libraries where the user may accidentally press Enter and terminate enter data mode, it is useful to disable the Enter key.

Example

# $construct of window class
Disable enter & escape keys
Enter data
If flag true
  OK message {OK Button Pressed}
End If
Enable enter & escape keys