onAppExit   This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to Application Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.Application.onAppExit:Function

Parameters
None

Returns
None

Description
Dispatched when the user attempts to exit the application.

Notes
This function will only execute when the exit handler has been enabled with Application.enableExitHandler().

Example Code
mdm.Application.enableExitHandler()
mdm.Application.onAppExit = function() {
    mdm.Dialogs.prompt("You can only exit when I let you exit!");
}

mdm.Application Class Example Downloads
No Example Downloads Available



Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page