the visible of a stack
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Wed Sep 24 17:00:49 EDT 2008
Mickey,
Le 24 sept. 08 à 22:41, Mikey a écrit :
> Eric,
> Fiddling around with this some more in 3.0:
>
> 1) Created a new stack "t1"
> 2) Created a new suubstack "t2"
> 3) put the visible of stack "t2"
>
> true
Correct and you see it :-)
> 4) put the rect of stack "t2"
> 735,550
Loc I assume but I understand.
> 4) show stack "t2"
>
> nothing happens
Actually, I understand:
In the meantime you have close stack t2.
When you write 'show stack t2', you just set its visible property to
true (and it's true yet) but it's closed.
So you can't see anything.
> 5) set the visible of stack "t2" to false
> 6) set the visible of stack "t2" to true
>
> nothing happens
For the same reasons: stack is closed.
> 7) put the visible of stack "t2"
>
> true
Yes, its 'visible' property is true but the stack is closed.
> 8) toplevel stack "t2"
>
> stack appears
Toplevel OPENS a stack in an editable window then it's of course
showing.
All other experiments you made just test a property but don't 'go' to
the stack.
As I said, visible property is related to an open stack, not a closed
one.
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list