How to Quit with a button

Richard Gaskin ambassador at fourthworld.com
Mon Dec 8 17:10:58 EST 2014


William Prothero wrote:

 > I’ve tried a number of things to get my app to shut down without
 > crashing the app. I know it must be possible because the toolbar
 > menu quits fine. I may just stop trying to use a script to quit.
 > It’s not essential since the toolbar menu quits fine. Anyway, I’ve
 > tried locking messages, closing all substacks, delaying the “quit”
 > with a send command, and it crashes no matter.

When it crashes, does the OS present a dialog?  Anything in the system logs?

 > But, a bare stack works fine.

Interesting.  Any pending messages at the time quit is invoked?


-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list