fileQuit menuHandler not working in OSX

My app has been using a fileQuit menuhandler for some time now, to intercept Quit and performing some housekeeping.

Now in 2017 r2.1 it no longer works. Not sure which version it stopped working in.

A dummy app with just a fileQuit menuhandler will demonstrate the problem.

Is this a new feature I’ve missed or a bug?

I would leave that menuHandler alone… and put the required code in

  • CancelClose event of Windows and/or CancelClose event of APP

Use the “appQuitting” property to determine if you are closing a window, or shutting down

Thankyou Dave. That worked. Must have been a feature then.