And... since my onBrowserEvent(Event event) is within the ListBox, I added the following check within onBrowserEvent(...) to only act on option elements and not selects:
if (optionElement.getTagName().equalsIgnoreCase("option")) { switch (event.getTypeInt()) { case Event.ONMOUSEOVER: showTooltip(optionElement); break; case Event.ONMOUSEOUT: cancelTooltip(optionElement); break; case Event.ONMOUSEDOWN: cancelTooltip(optionElement); break; } } My Tooltip class extends PopupPanel and here's the showTip() method that shows the popup relative to the option being hovered over: public void showTip() { setPopupPositionAndShow(new PopupPanel.PositionCallback() { public void setPosition(int offsetWidth, int offsetHeight) { int left = referenceElement.getAbsoluteLeft(); int top = referenceElement.getAbsoluteTop() + referenceElement.getOffsetHeight(); setPopupPosition(left, top); } }); } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---