posted 13 years ago
hello,
I have a gwt VerticalPanel class that i need to handel KeyDown events for it.
the method i used to implement keyboard handler in my class is:
i add :
to constructor
then i override method onBrowserEvent() to handle key down event.
however this method doesn’t work for this VerticalPanel class which extends a VerticalPanel.no KeyDown Event is fired when i press a key!
there are specific gwt widgets that support KeyDownHandler like Button etc..VerticalPanel is not one of them..so we need a work around to register a KeyDownHandler on a class extending VerticalPanel.
can you suggest an idea or hint?
thanks
thanks