Application quit on OS X

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Jan 20 05:09:17 EST 2012


Hi Pete,

This is correct behaviour. You'r be very surprised if you close the last window on Windows and your app continues running but is completely inaccessible. You'd also be surprised of your standalone behaved differently on Mac. Moreoever, without a window, you need a menubar with a Quit menu item, but which stack is going to provide the menubar if you just closed the last window?

To work around this, you could add a hidden window with a defaultMenubar or use a closeStackRequest handler to warn the user that the application will quit. 

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za

On 20 jan 2012, at 07:25, Pete wrote:

> It seems that when you close the main stack window in an LC standalone
> application on OS X, the application terminates.  That doesn't seem like
> normal behavior for an OS X application, at least not the ones I'm familiar
> with.  Maybe there's no right or wrong on this and it's a function of the
> application functionality?
> 





More information about the use-livecode mailing list