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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to