The TopLevel Stack

Mark Wieder ahsoftware at sonic.net
Fri Mar 27 18:59:07 EDT 2020


On 3/27/20 3:40 PM, Bob Sneidar via use-livecode wrote:
> Hi all.
> 
> I’m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself, then returns to the first stack.
> 
> At that point, it *should* be the topStack… BUT IT’S NOT! Subsequent commands like setting the text of a field fail with no such object!
> 
> How do I FORCE a stack to be the active stack?

Ah, pronouns.
I've gotten lost in the "it"s there...

Which stack closes "itself"? The invisible on or the one that opened the 
invisible stack?
Which one do you want to be the topstack?
Are you using "go stack" to the first when you close "itself"?
What does the defaultstack return?

-- 
  Mark Wieder
  ahsoftware at gmail.com



More information about the use-livecode mailing list