When I suspend a stack is save the current focused object and the current
selection. Then on resume stack I restore it. That seems to work really well
for me. The topStack should still be the topStack no matter what. Not sure why
you need to reference the defaultStack.
> On Aug 9, 2017, at 09:08 , Paul Dupuis via use-livecode
> <firstname.lastname@example.org> wrote:
> Has any one run into the following situation in LiveCode standalones?
> In a multiple window application, the user has either a standard window
> or a modal dialog open (the topWindow which is also the defaultStack).
> They navigate to a 3rd party application and by some means back to the
> LC standalone and click a control in the topWindow (again either a
> standard window or dialog) and that window is NO LONGER the defaultStack
> so an execution error occurs on the first control referenced that is not
> fully qualified.
> Obviously, I can fix this by fully qualifying all my object references
> (i.e. instead of using fld "x", using fld "X" of stack "Y") but I am
> curious is anyone else has seen anything like this?
> use-livecode mailing list
> Please visit this url to subscribe, unsubscribe and manage your subscription
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription