CloseCard Handler
Warren Kuhl
warrenkuhl at gmail.com
Thu Jun 2 14:35:23 EDT 2011
Richard,
Thanks...I will check it out. I never saw that one...but it makes sense.
Appreciate your help!
Warren
On Thu, Jun 2, 2011 at 1:32 PM, Richard Gaskin
<ambassador at fourthworld.com> wrote:
> 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 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