On Sunday, September 2, 2012 8:50:44 PM UTC+2, gwtApprentice wrote: > > Does the KeyPressHandler work for you in FF 15? I'm using OSX Snow > Leopard, but does it work for you anyway? > > https://developers.google.com/web-toolkit/tools/gwtdesigner/tutorials/stockwatcher#event_handlers > > > newSymbolTextBox.addKeyPressHandler(new KeyPressHandler() { > public void onKeyPress(KeyPressEvent event) { > if (event.getCharCode() == KeyCodes.KEY_ENTER){ > addStock(); > } > } > }); > > The tutorial is known to not work in Firefox: http://code.google.com/p/google-web-toolkit/issues/detail?id=5558 Firefox is wrong, and key events are a mess overall: http://code.google.com/p/google-web-toolkit/issues/detail?id=5003
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZgD-cq--7w8J. To post to this group, send email to google-web-toolkit@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.