Close window doesn't quit standalone

Scott Slaugh xslaugh at
Fri Oct 24 11:38:27 EDT 2003

>I have a standalone which doesn't quit when I close the window on OS X. To 
>get the app to quit I have to select Quit from the application menu. I'm 
>using 2.1 release. The standalone destroystack option is checked during the 
>Is this the expected behavior or a bug? How can I have the app quit when 
>the only window it has is closed?

I had this problem with a program I created.  What I ended up doing was 
putting the following handler into my stack script:
on closeStack
end closeStack

It's probably not the best way of doing things, but it seems to work.

Scott Slaugh

Cheer a special someone with a fun Halloween eCard from American Greetings! 
Go to

More information about the Use-livecode mailing list