Close Substack Question?

David Burgun dburgun at dsl.pipex.com
Mon Apr 3 16:00:41 EDT 2006


On 3 Apr 2006, at 16:42, Rob Cozens wrote:

>
> Hi Dave,
>
>> I have the preOpenStack, openStack and closeStack handlers defined  
>> in the Script of the sub-stack.
>>
>> Any ideas?????
>>
>
> A closeStackRequest handler in the main stack?

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?

Thanks a lot
All the Best
Dave




More information about the use-livecode mailing list