I am running GWT 2.3 in Standards mode and ran into this issue where
the getKeyCode method on the Event(com.google.gwt.user.client.Event)
object does not return correct values for special characters and also
those for letters seem to be inverted i.e. if I type 'S' I am getting
the code for 's' and vice versa. Any pointers on whats going on and
what I can do to fix. Below is a snippet of code that I am trying to
execute
Event event = DOM.eventGetCurrentEvent(); /* Note I do not have access
to the actual KeyUpEvent, so I need to use this */
char keyUpChar = (char)event.getKeyCode(); /* This returns 57 for the
'(' char which should be 40 and 83 for 's' which should be 115
Thanks!
--
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.