Invisible clone?

Sarah Reichelt sarahr at genesearch.com.au
Tue Nov 30 19:26:57 EST 2004


> I could have sworn this worked in an earlier version, but darned if I 
> can do this gracefully now:
>
> I have an app that makes new documents by cloning a substack.  What 
> I'd like to do is set the visible of the substack to false, clone it 
> invisibly, modify its rect, title, and some other properties, then 
> show it when it's ready.
>
> But try as I might I keep getting the clone visible as soon as it's 
> created.
>
> What's the trick?

In the template stack, have a preOpenStack handler that says "go 
invisible to me", with a "show me" after all the mods have been done.
Sounds crazy but it works :-)

Sarah



More information about the Use-livecode mailing list