Command SET ESCAPE Foundation

Activates or deactivates the Esc key as an exit key for READ.

Syntax
SET ESCAPE ON | off | <lToggle>
Scope
process-wide
Parameters
<lToggle>
<lToggle> is a logical expression which must appear in parentheses. Instead of the logical expression, the option ON can be specified for the value .T. (true) or OFF for the value .F. (false). When .T. or ON is specified, the execution of the READ command can be terminated using the Esc key.
Description

The command SET ESCAPE OFF results in the ESC key being ignored as an exit key during execution of the READ command. If SET ESCAPE is set to ON (the default setting), the current READ command is terminated if the Esc key is pressed. The original value is reassigned to the variable being edited by the current Get object. Data validation specified using the options VALID or RANGE (on the @ GET... command) is ignored.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.