What is the correct way to show a substack window?
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Thu Apr 19 04:18:19 EDT 2007
Hi Tiemo,
Le 19 avr. 07 à 09:40, Tiemo Hollmann TB a écrit :
> I just want to show (open) a substack as a new window (as toplevel). I
> thought, I just have to code: show stack "myStack", but nothing
> happens.
>
> I have to add: go card "myCard" of stack "myStack" to see the
> substack. But
> I don't want to "go" to that substack and get the focus on that
> stack. I
> tried it also with the visibility, what is obvious the same as "show"
Showing a stack that is not open has no effect:
You must go to the stack or use a command as topLevel, modeless,
palette, etc.
As for keeping the focus, use the push/pop command:
push cd
toplevel stack "myStack"
pop cd
Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
http://www.sosmartsoftware.com/
eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------
More information about the use-livecode
mailing list