Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
Such a command should only close the topmost stack (or substack, if on top). It always has for me, though I always use a Mac. But there would have been lots of noise if this was not true for Windows, and that noise would have started long ago.
Does it so the same thing with a new stack and some substacks? Perhaps place a button with your handler in one of those substacks and test?
I do not really know, or care to know, how Windows works. What I think Richard alluded to was that there might be pending messages in a running timer, perhaps with a "send in time..." command that (might) prevent the stack from closing. Is this a possibility?
Several things can prevent the engine from completely shutting down. The most common are any pending messages still in the queue, which Richard's handler fixes. Another is any open drivers that haven't been closed. If you are using speech, databases, or any other features that use drivers be sure to shut those down before quitting.
You may also need to close any substacks that are hidden but still open.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Yes, the LiveCode process will close when all of the following are true:
- no more pending messages
- no open drivers or other child processes
- the last stack window is closed
Richard Gaskin LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn