Re: GWT2.1 M1- Issues with KeyPressEvent and registering the Enter key pressed
Hey vidyanand!
I was also trying something similar and I got the same results.
If you try to print the Unicode character code of the ENTER,
KEY_UP, ... you also obtain 0.
Pretty weird.
On 4 jun, 18:28, vidyanand <vidyan...@gmail.com> wrote:
> Hi
>
> I just updated to GWT 2.1 Milestone 1 build and after that I am having
> problems with registering theEnterkey pressed in a text box.
>
> If I have the following block , it never enters it.
>
> if (event.getCharCode() == KeyCodes.KEY_ENTER) {
> // DO SOMETHING IN HER
>
> }
>
> I tried printing out theevent.getCharCode() when theENTERKEY is
> pressed and all I get is a blank String.
>
> Was this changed on purpose or is this a bug ?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home