Can't trap Quit

Michael Binder runr at
Thu Sep 20 07:57:58 EDT 2007

> However, that would require a user to click on it. I put it into the
> following handler which is called by both the closeStackRequest and
> shutdownRequest and it doesn't work.

Hi Bill,
I think you need to reset the defaultstack after each answer dialog:

answer "Save the changes?" with "No" or "Yes"
set the defaultStack to vTempStack
      if it is "Yes" then.......

      end if

hth, Michael Binder

More information about the use-livecode mailing list