As far as i remember that is how it is - disabled native widgets (buttons, comboboxes etc.) do not receive browser events. Though i'm not sure whether this behaviour is consistent across all the browsers.
On 19 Feb., 21:34, Salman Hemani <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
