Hi,

I am trying to create a keydownhandler event for the suggest box but it 
won't allow me to do so? why

It shows this error
" The method addKeyDownHandler(KeyDownHandler) in the type SuggestBox is 
not applicable for the arguments (new KeyDownHandler(){})"


Here is my code:

private MultiWordSuggestOracle oracle = new MultiWordSuggestOracle();
private SuggestBox suggestBox = new SuggestBox(oracle);
suggestBox.addKeyDownHandler(new KeyDownHandler(){

@Override
public void onKeyDown(KeyDownEvent event) {
// TODO Auto-generated method stub
 }
  });

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to