Invisible clone?
Klaus Major
klaus at major-k.de
Tue Nov 30 12:42:49 EST 2004
Hi Richard,
> 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.
Hmmm, must be an IDE thing...
Works in MetaCard...
> What's the trick?
I suggest (i always do :-) to NOT clone stacks...
Import a premade stack into a customprop, then you can go to this cp
invisible,
do your modifications and show it :-)
get the siTemplate_stack of this stack
go invisible stack it
## do your thing(s) to "name of imported stack in cp"
show stack "changed name of imported stack in cp"
...
You get the picture :-)
> Richard Gaskin
> Fourth World Media Corporation
> __________________________________________________
> Rev tools and more: http://www.fourthworld.com/rev
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list