Warren Kuhl wrote:
When the user closes the application, I have a check in place within
the on closecard handler to see if they saved the document. If they
didn't save the document, I give the user to option to save, don't
save or cancel. On the cancel, I just want the application to stay
open. Within the on closecard handler, I have a exit closecard
command when the user selects cancel. The application stil closes.
Is there a way to bypass the close at this point? If not, how can I
get around this if the user closes the application by closing the
window?
The message you're looking for is closeStackRequest.
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode