Okay wrong again. The message gets sent first to the card, then the stack, then the stack behavior, then the main stack.
But before any of that, I get a dialog asking if I want to save the stack! That is what I am trying to avoid! This was discussed before, and I thought closeStackRequest was the solution, but apparently not. I may need to do this in a front script. The defaultStack thing still stands though. Bob S > On Apr 17, 2020, at 4:17 PM, Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi all. > > I think I have stumbled across what appears to be a bug. When I open a sub > stack from a main stack script, the main stack remains the defaultStack. This > is causing any number of issues with me. I have a closeStackRequest handler > for instance that auto saves the stack. It never gets triggered because the > closeStack message never gets sent to it! > > If I open a stack, shouldn’t THAT STACK become the default, barring modal or > system stacks? > > MacOS Community 9.5.1 > > Bob S _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode