The setEnabled method is in the FocusWidget which I'm assuming all of
your input widgets extend. So just cast all of the widgets in your
form to a FocusWidget and then you can enable/disable them.

Trevor

On Jun 18, 9:38 am, Stefan Bachert <[email protected]> wrote:
> Hi Magnus,
>
> I agree with you, there should be such a method at UiObject, but
> actually it it not.
> You may write an enhancement request
>
> Stefan Bacherthttp://gwtworld.de
>
> On Jun 17, 7:27 pm, Magnus <[email protected]> wrote:
>
>
>
> > Hi,
>
> > how can I enable/disable a widget (TextBox, Button, etc.)?
>
> > I would like to iterate all Widgets of a form and set this status. I
> > found no appropriate methods in the Widget class...
>
> > Magnus

-- 
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