> GWT 2.1.0/ APP ENGINE 1.3.8/Google plugin eclipse 3.5
>
> This is partial code from from tutorial StockWatcher.
>
> // Listen for keyboard events in the input box.
> newSymbolTextBox.addKeyPressHandler(new KeyPressHandler() {
> public void onKeyPress(KeyPressEvent event) {
> if (event.getCharCode() == KeyCodes.KEY_ENTER) {
> addStock();
> }
> }
> });
>
> I came across a unique problem on event hander onKeyPress. This event
> works fine in IE but not on Firefox 3.6.12.
>
> How can I make it work for the said Firefox version?
Use KeyDown or KeyUp instead of KeyPress.
--
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.
No comments:
Post a Comment