But even if you remove the clickListener, it will cause an onHistroryChange
event right?

On Thu, Nov 27, 2008 at 1:08 PM, Danny Schimke <[EMAIL PROTECTED]>wrote:

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

Reply via email to