I guess that would work. However, the underlying problem still persists. Showing the tooltip is just what I am sepcifically doing here. The point is that it never receives a browserEvent when a button is disabled. I am still looking for an explanation for this behaviour.
On Feb 17, 8:05 pm, satya <[email protected]> wrote: > You can try adding the tooltip using the following operation: > > button.getElement().setAttribute( "title", "here is my > tooltip"); > > Regards, > Satya > > On Feb 17, 10:33 am,SalmanHemani<[email protected]> wrote: > > > > > Hey Guys and Gals, > > > I have a button on which I listen for mouse events via sinkEvents > > (Event.MOUSEEVENTS) so I can display tool tips. The issue however is > > that if the button is disabled the onBrowserEvent is never invoked and > > as such I cannot detect the mouse event. This seems like a bug but I > > didn't come across it in the issues list. Is there a reason why the > > disabled button does not receive a the browser event? > > > Regards, > >Salman- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
