When I put a breakpoint on a App.Close event the debugger doesn’t show. I tried with a fresh project, but same results.
Anybody same experience? MacBook Pro/macOS Sierra/Xojo 2017 1.1

Edit: actually if I put a MsgBox in the App.Close event it doesn’t fire.

Red button… I will try this. Thanks

Works. Thanks

Depending on what you want to do *, CancelClose can be better…

  • If you want to save the application state for example, use CancelClose: Close does nothing for you.