CloseCard Handler

Warren Kuhl warrenkuhl at
Thu Jun 2 14:35:23 EDT 2011


Thanks...I will check it out.  I never saw that one...but it makes sense.

Appreciate your help!

On Thu, Jun 2, 2011 at 1:32 PM, Richard Gaskin
<ambassador at> 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:
>  Webzine for LiveCode developers:
>  LiveCode Journal blog:
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:

More information about the Use-livecode mailing list