Application quit on OS X

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Jan 20 15:46:12 EST 2012


Hi Pete,

I think I already explained that you can use the closeStackRequest message. There's also the shutdownRequest message.

--
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 21:00, Pete wrote:

> Thanks Jaccue.  So I can't use a closeStack or shutdown message handler to
> control this?
> Pete
> 
> On Fri, Jan 20, 2012 at 10:14 AM, J. Landman Gay
> <jacque at hyperactivesw.com>wrote:
> 
>> On 1/20/12 11:23 AM, Pete wrote:
>> 
>> As far as I can tell, all Mac applications work this way.  Closing the
>>> last
>>> open window in the app and quitting it are two different activities.  Even
>>> the Livecode IDE works that way on a Mac.
>>> 
>> 
>> Apple says that if your app has only a single window and is a utility (I
>> think, can't exact recall), the app should quit when the window is closed.
>> System Preferences works that way. But for most of us, that doesn't apply.
>> 
>> The fix is to open an invisible "anchor" stack, either with its vis set to
>> false, or just placed offscreen. You don't need to do that on any OS other
>> than Mac, because everybody else expects the app to quit when the last
>> window is closed.
>> 
>> --
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>> 
>> 
>> ______________________________**_________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>> 
>> 
> 
> 
> -- 
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list