Another Mystery

J. Landman Gay jacque at hyperactivesw.com
Wed Aug 10 14:45:14 EDT 2005


David Burgun wrote:
 > I've dug deeper and I reckon it's because another stack window which is
 > invisible is in front of the current window.

Yes, that'd do it. While the stack isn't visible, it still is frontmost.

 >
 > I call a function in a global stack which loads externals and this
 > creates a temp stack and does:
 >
 > go stack "newstack"
 > start using stack "newstack"
 >
 > If I take out this call all works ok.
 >
 > Is there anyway to make the current stack the frontmost? Or should I not
 > be doing the go stack?

Yes, you can omit the "go" statement and the stack will still be put in 
use. Or if you need to, you can also do:

   toplevel <myStack>

to bring the main stack to the front again.

So, not a bug.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list