Long Standing Issue with the defaultStack
dunbarx at aol.com
dunbarx at aol.com
Sat Apr 18 15:59:12 EDT 2020
I know that doing the simplest things, breathing, going down to the message box, can upset the defaultStack. I see this often when trying to change properties in open inspector(s).
My example may have been unfair to your issue, because I wound it so tightly within a single short handler. There was no room for fiddling around, by you or LC.
When one is roaming around the IDE, I think I have seen the same things you have.
From: Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: Bob Sneidar <bobsneidar at iotecdigital.com>
Sent: Sat, Apr 18, 2020 2:35 pm
Subject: Re: Long Standing Issue with the defaultStack
Not sure at this point. When I open a sub stack called “Devices” (or any sub stack) of my main stack “Forms Generator” and I enter “put the defaultStack” in the message box, I get “Forms Generator”.
If I put the command “put the defaultStack” in the last line of the openStack handler of stack devices, I get “Devices”.
Right afterwards, if I enter “put the defaultStack” in the message box, I get “Forms Generator” again!
Not entirely sure what is doing it. Had the same issue with another much simpler stack. If I went invisible to a database setup stack, then went back to the stack that called it, the defaultStack remained the database setup stack, and THAT wasn’t even a sub stack!
Until I can figure out what is causing it, I cannot trust the defaultStack.
> On Apr 18, 2020, at 9:53 AM, dunbarx--- via use-livecode <use-livecode at lists.runrev.com> wrote:
> I make a new stack "XXX", and a substack "YYY", and save the lot. To be sure, I quit LC and open "XXX" from the desktop.
> There is a single button on "XXX" that:on mouseUp go stack"yyy"answer the defaultStackend mouseUp
> I get "YYY"
> What are you seeing?
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode