Page 1 of 1

Focus on nothing & Select empty problem

Posted: Thu Jul 19, 2012 8:05 pm
by townsend
This may not be possible, but I thought I'd ask before I give up.

I've got these popup reminder messages that happen occasionally.
Basically, a sub-stack opens with the stack size set the the size of a text field.
But sometimes while the user is typing away in a text field on the main stack,
one of these popup reminder sub-stack messages happen,
and focus goes to the reminder sub-stack window,
and suddenly the user is no longer able to continue typing,
because the main stack has lost focus to the sub-stack.

I've tried to no avail:

Code: Select all

    select empty
    set the cantSelect of this stack to true
    focus on nothing
So-- is there any way have this sub-stack open, while retaining focus in the main stack?

Maybe-- is it possible to save a focus point in the main stack before the sub-stack opens,
then have the sub-stack return focus to that saved main stack focus point as soon as it opens?

Re: Focus on nothing & Select empty problem

Posted: Fri Jul 20, 2012 1:57 pm
by BvG
open the substack as palette.

Re: Focus on nothing & Select empty problem

Posted: Fri Jul 20, 2012 3:48 pm
by townsend
BvG wrote:open the substack as palette.
I was watching this thread yesterday. It got a lot of views-- but no solution.
I had given up on it-- but then today-- I see the answer.

Thanks Björnke!

Code: Select all

palette stack "Message"