TopStack focus issue

2014-12-06 Thread Graham Samuel
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 t

Re: TopStack focus issue

2014-12-06 Thread Peter M. Brigham
On Dec 6, 2014, at 7:44 AM, Graham Samuel 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 -

Re: TopStack focus issue

2014-12-06 Thread J. Landman Gay
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 wrote: >I have an app where after so

Re: TopStack focus issue

2014-12-06 Thread Graham Samuel
Thanks to Peter and Jacque for these suggestions. Sadly, neither of them worked. Neither did ‘click at the loc of this cd’ or similar statements. The only thing that works so far is a real mouse click in the body of the mainstack window or on its title bar. After that is done and focus has once

Re: TopStack focus issue

2014-12-07 Thread Robert Brenstein
I have seen such issues having invisible stacks, that is when I was hiding some stacks not closing them during the open sequence. Somehow they got focus at the end and did not release it happily. This was in earlier versions, though. RObert On 06.12.2014 at 23:00 Uhr + Graham Samuel appar

Re: TopStack focus issue

2014-12-07 Thread J. Landman Gay
One last thing to try: toplevel "main" set the defaultstack to "main" Also, if you haven't already, assign the menu to the palette stack too. You may need to change the menu scripts to check whether the target stack is the palette or not, if some of the commands don't apply to the palette.