Strange Loss Of Focus

2011-06-27 Thread Scott Rossi
The message title would normally refer to me, but in this case, the problem is with a stack... I have a palette stack that initiates copying of groups from one stack to another. Once the copy is done, the palette stack apparently loses focus, and a mouseMove handler in the palette refuses to

Re: Strange Loss Of Focus

2011-06-27 Thread John Craig
Possibility : Have a frontscript intercept mouseMoves and check if the screenMouseLoc is within the rect of stack yourStack. You can then act accordingly or just pass the mouseMove. HTH :) On 27/06/2011 23:31, Scott Rossi wrote: The message title would normally refer to me, but in this

Re: Strange Loss Of Focus

2011-06-27 Thread Terry Judd
There must be something about your particular situation because copying a group from a palette to a toplevel stack didn't interfere with a simple mouseMove handler in the palette stack for me, irrespective of whether it was initiated from the palette stack or the toplevel stack. I guess it's no

Re: Strange Loss Of Focus

2011-06-27 Thread Scott Rossi
Thanks -- you might be right Terry. In my case, the copy event is being initiated by the palette, but the actual copying is taking place between two other stacks, which might have something to do with the problem. But given that the starting stack is a palette, I would think mouseMove would