ApplicationExit()

Previous Next

Closes the application.

Syntax

ApplicationExit([<mode>])

Parameters

mode

If set to AFTER_SAVE, any unsaved data is committed automatically.

· If set to IMMEDIATE, the application is closed without committing any changed data.

 

· If empty, the user is prompted with a dialog to save the data when changes to the data have been made.

 

· If none of the above apply, the action is ignored.