This event is fired when the user tries to shut down the application. In this handler you can add code that asks if changes are to be saved or informs the user about the consequences of not saving changes.
Public Function AppCanClose() As Long
None.
|
evtOK |
Returns this value if it is safe to close the application. |
|
evtOKAbort |
Prevents the application from exiting. |
|
evtError |
Results in an error message. |