the visible of a stack
Thomas McGrath III
3mcgrath at comcast.net
Wed Sep 24 16:00:11 EDT 2008
Mikey,
In order for a stack to be other than visible you would have to set
this, so why not set a flag that tells you before the stack is opened
what it's state is? then call that state and reset based on that
before you close the stack.
-- in an open statement
put the visible of stack "Test" into gVisState
set the visible of stack "Test" to true
-- work on stack ....
-- in a close statement
switch gVisState
case "true"
set the visible of stack "Test" to true
break
case "false"
set the visible of stack "Test" to false
break
end switch
HTHs
Tom McGrath III
On Sep 24, 2008, at 3:46 PM, Mikey wrote:
> It's not that I want to make a stack visible or invisible. I'd like
> to prevent that property from changing when I'm done with a stack.
>
> So if I visit a stack, but that stack isn't visible when I get there,
> then I'd like it to remain invisible. Conversely, if it was visible,
> I'd like to have it remain visible if it was when I got there.
>
> However, I don't know what property reliably indicates the visually
> visible status of a stack, since visible does not, apparently.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list