Hi all

I would like to know when a user releases any key on the keyboard, and
thought I should use the KeyUpHandler for this. But when I do
something like

addKeyUpHandler(new KeyUpHandler(){
        @Override
        public void onKeyUp(KeyUpEvent event) {
                Log.debug("key went up!" + event.getNativeKeyCode());
        }
});

the onKeyUp method is NEVER called when any key is released, but
ALWAYS for as long as any key is pressed down. I expected the opposite
to happen. Could someone please enlighten me on how to capture the
fact that a key was released? I'm using 1.6.4.

Many thanks from a very confused
Nina
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to