File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes Disable action on Event handler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Disable action on Event handler" Watch "Disable action on Event handler" New topic

Disable action on Event handler

Maks Besida

Joined: May 26, 2011
Posts: 13

I have a KeyUpHandler and want to disable default actions on some keys. For example, I want to disable new line to be inserted into TextArea or if the user press Tab key I want to disable focus to be changed to another element. How can i achieve this
It is sorta covered in the JavaRanch Style Guide.
subject: Disable action on Event handler
It's not a secret anymore!