StdFormExitCancel event

Occurs when the user clicks Close and Cancel Changes on the Form menu.

The default implementation in discards any unsaved application data and prompts the user to save any changes to the form definition before closing the form. In Design Mode, WinStudio discards any unsaved changes to the form definition and prompts the user to save any unsaved application data before closing the form.

Your application can call the default implementation by generating the event.