TopStack focus issue

J. Landman Gay jacque at hyperactivesw.com
Sat Dec 6 10:29:34 EST 2014


If the palette is the last stack to open, it may be the defaultstack even though it isn't the topstack. So after the opening sequence completes, try adding a command to set the defaultstack to the mainstack.


On December 6, 2014 6:44:15 AM CST, Graham Samuel <livfoss at mac.com> wrote:
>I have an app where after some preliminary actions, an ‘editable
>window’ (i.e. a normal window) is shown with a palette. When the app
>reaches this stage, for some reason the main (top) stack - i’ve checked
>that it really is the topStack - doesn’t have the focus and its menus
>don’t work. I have to click on the window for focus to return to the
>stack. This is happening on LC7 rc3 on a Mac with Yosemite, and I am
>pretty sure it’s happening on earlier versions of Mac OSX.
>
>Can anyone explain this, and can anyone give me a cast-iron workaround
>that will make the mainstack active as soon as it becomes visible?
>
>TIA
>
>Graham
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode

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




More information about the use-livecode mailing list