See this thread: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/4d57e31e9a863c09
Maybe with getNativeEvent() method work. Regards. On 11 abr, 13:32, azuniga <[email protected]> wrote: > I've got a textbox that I only want positive floats in. So pretty much > I just want to allow digits and a '.'. I have my class implement the > KeyboardListener inteface and add the addkeyboardListener(this) to the > textbox. I then implement onKeyDown, onKeyPress and onKeyUp with the > parameters Widget sender, char keyCode, int modifiers. When I debug > the code and break inside onKeyDown, after pressing the . in the > number pad I get keyCode = n, then if i press the . in the main > keyboard area I get keycode = 3/4. When I press the 1 in the number > pad I get a, 2 = b, 3 = c etc... Can anyone help me figure this out. I > am using gwt 2.1. -- 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.
