escExit
Determines if the user can close a form by pressing Esc.
Property of
Form, SubForm
Description
Set escExit to false to prevent the user from closing a form by pressing Esc.
You can verify that the user wants to close the form by using the form’s canClose event handler. Closing a form by pressing Esc abandons all pending changes in the data buffer, as if abandonRecord( ) was called.
When a form is opened with readModal( ), it returns false when it is closed by pressing Esc.