setting the loc of a cloned window
Ken Ray
kray at sonsothunder.com
Fri May 2 02:26:01 EDT 2003
Sarah,
You need to hide the original before you clone it; the clone will then
be invisible too, and you can place it where you want. That is, don't do
this:
open stack "MyStack"
hide stack "MyStack"
clone stack "MyStack"
... because Rev bases what the clone looks like on its state before it
is opened. Do this instead:
hide stack "MyStack"
clone stack "MyStack"
I know it sounds weird to hide something that isn't open or visible, but
this works...
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of Sarah
> Sent: Thursday, May 01, 2003 11:12 PM
> To: use-revolution at lists.runrev.com
> Subject: setting the loc of a cloned window
>
>
> Related to the problem of setting the loc of modal dialogs, I have a
> problem setting the loc of a cloned stack without it appearing in
> another place first.
>
> I have tried locking the screen and making the original invisible but
> the clone always appears above and to the right of the
> original before
> moving to where I tell it to go. Does anyone know how to do this
> invisibly?
>
> Cheers,
> Sarah
> sarahr at genesearch.com.au
> http://www.troz.net/Rev/
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-> revolution
>
More information about the use-livecode
mailing list