Occurs when the Cancel button is clicked in a form.
Use this event to write code that performs any desired action when the user clicks the Cancel button in a form. This event is not sent to the Form object until after it has been sent to all Page objects in the form. Page objects have a chance to override the cancel by handling the OnQueryCancel event. This event also occurs when the form is closed via the Form object's Close method (if the OK argument is set to False).