Should'nt setVisible() do this for HyperLinks too? setVisible needs an element and boolean:
myHyperLink.setVisible(myHyperLink.getElement(), false); otherwise do what alex.d says: add and remove a style name which do this. CSS: visibility: hidden; 2008/11/27 alex.d <[EMAIL PROTECTED]> > > If you wanna it look disabled - change CSS style. If you wanna your > clickListener not being executed - just remove it(use a single > listener method - not an anonymous inner class). > > On 26 Nov., 17:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > It's a little hacky, but we just substitute a label in it's place. > > > > On Nov 26, 7:55 am, "Litty Preeth" <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > Anybody knows how we can disable a HyperLink in GWT? > > > > > Regards, > > > Litty Preeth > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
