You can also pass in your own TextBox when you construct the SB:

TextBox tb = new TextBox();
SuggestBox sb = new SuggestBox(oracle, tb);

...and later disable the TextBox:

tb.setEnabled(false);


On Aug 22, 12:28 pm, joseanquiles <[EMAIL PROTECTED]> wrote:
> Try:
>
>         public static void setEnabled(SuggestBox sb,boolean enabled) {
>                 DOM.setElementPropertyBoolean(sb.getElement(), "disabled", !
> enabled);
>         }
>
> Regards,
>
> José Antonio
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to