On Jul 3, 2007, at 0:53 , Blake wrote:
Hey, gang:
So, I've made a morph that responds to keypresses and I've caused it to grab the keyboard focus. But if I move the mouse of a workspace, the workspace captures the keyboard focus, and from that point forward, my morph is back to only responding to keypresses when the mouse is over it. My basic question is how to change this. (As long as this morph exists, I want it to respond to all keypresses, let's say.)
Send #addKeyboardListener: with your morph as argument to the Hand. This way you get all keyboard events independent ot keyboard focus.
- Bert -