Pre-exit Validation property
This is where you specify the action(s) that must be executed before exiting an application. These actions are executed BEFORE attempting to close any open windows.
Using this property enables you to validate that all changed data is correct. If one of the actions associated with the Pre-exit Validation property calls the ErrorRaise() action, then the application exit is not executed. For more information, refer to "Data Validation Failure" .
NOTE: If you want to execute action calls at application level, you should specify them as: Application.actionName()..
You can set this property by choosing File, Edit Application from the Windows Designer menu bar.