this is the code for the event; @Override public void onBrowserEvent(Event event) { super.onBrowserEvent(event); if(DOM.eventGetType(event) == Event.ONKEYPRESS){ if(event.getKeyCode() == KeyCodes.KEY_ESCAPE){ hide(); }else if(event.getKeyCode() == KeyCodes.KEY_ENTER){ if(okButton.isVisible()) handleOK(); else if(searchButton.isVisible()) handleSearch(); } } }
On Wed, Jan 20, 2010 at 9:57 AM, Anoop John <anoopjoh...@gmail.com> wrote: > can you please provide your code > > On Jan 20, 12:13 pm, muhannad nasser <muhannadna...@gmail.com> wrote: > > hi all; > > > > i am using keyPressed event to catch the ESC button..... to close an open > > popup...... it works fine in the hosted mode and IE7.... but it does not > > work on FireFox...... > > > > any ideas please > > > > -- > > ~~~With Regards~~~ > > Muhannad Dar-Nasser > > ~~Computer Systems Engineering~~ > > -- > 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<google-web-toolkit%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > > -- ~~~With Regards~~~ Muhannad Dar-Nasser ~~Computer Systems Engineering~~--
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.