Close Substack Question?

Rob Cozens rcozens at pon.net
Tue Apr 4 11:14:11 EDT 2006


Dave,

> I added a closeStackRequest handler to my sub-stack script:
>
> on closeStackRequest
> save this stack
> pass closeStackRequest
> end closeStackRequest
>
> But I still get prompted to save the sub-stack when closing it in the 
> IDE.
>
> Do I need one in the mainStack too?
>
>

I think all you need to do is not pass closeStackRequest in your 
closeStackRequest handler.

Rob Cozens
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 mailing list