unexpected quit on closeStackRequest
rcozens at pon.net
Thu Jul 11 09:11:01 EDT 2002
>The following causes a (repeatable) unexpected quit (according to
>Mac OS X) only when run from within a stack, not as a standalone:
> answer "This will close this application." with "Cancel" or "Close"
> if it is "Cancel" then exit to top
> if there is a file "tempfile.txt" then
> delete file "tempfile.txt"
> end if
> pass closeStackRequest
> end if
FWIW, your handler runs fine on Mac OS 9. One thought:
closeStackRequest should be speciific to the stack whose close box is
clicked on: I see no reason to pass it.
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the Use-livecode