Splash snafu

Ken Norris pixelbird at interisland.net
Tue Dec 23 13:26:23 EST 2003


Hi Klaus,

> Date: Tue, 23 Dec 2003 10:50:16 +0100
> From: Klaus Major <klaus at major-k.de>
> Subject: Re: Splash snafu
> 
>> 
>> Why is opening the substack trying to rerun the script of the
>> mainstack?
>> 
>> The substack has no scripts.
> 
> ...and thats the point!
> 
> Since it has no script of its own, it executes the mainstacks script:
> (Substacks do this ;-)
-----------
OK. I guess I haven't seen it before because there has been a handler in the
substack. I suppose RR first looks to find an openCard handler and runs to
the parent to find one if none exists. I've seen this before in other
xTalks, so I should have recognized that it would fall through.
-----------
> Solution:
> 
> put a generic "openstack" handler into the substack like:
> 
> on openstack
> ###
> end openstack
-----------
Thanks Klaus,

Ken N.



More information about the Use-livecode mailing list