the visible of a stack

Scott Rossi scott at tactilemedia.com
Wed Sep 24 15:42:35 EDT 2008


Recently, Mikey wrote:

> I have a stack that isn't visible - at least not in a visual sense.
> 
> However if I put the visible of the stack, I get true.
> 
> If I toplevel the stack and set the visible to false, nothing seems to happen.
> 
> So, aside from my obvious dementia, does this behavior make any sense?
> 
> Is there some way to tell reliably whether a stack is visually visible or not?

How can a stack be invisible in anything BUT a visual sense? ;-)

Several ways a stack could be visible but not apparent on the screen are A)
the stack is off screen, B) the blendLevel of the stack is set to 100, C)
the dimensions of the stack are set to some tiny values like 1 x 1, D) the
stack is hidden behind another stack, or E) an incorrect image used as a
custom windowshape.

I've found the visible property to be reliable.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design





More information about the use-livecode mailing list