The user can cancel form processing by pressing the Quit key (KEY_ESC). By default, a verify-quit function is called when a form is exited. This function pops up a message window, and the user is asked whether he or she wishes to exit the form (you can change this and any other system message). If the answer is "no", a return is made to the data entry form, allowing further editing of the form. If the answer is "yes", the quit procedure continues. Display of the verify-quit message is an option that can be turned off. See Chapter 16, "Data Form Processing Options."
If the user quits from a data form, the end-form function is called (if you have installed one), and an immediate return is made from fm_proc(). The values entered by the user are not saved; the data variables for the fields will contain their initial values. The form window is removed from the screen.