Popup panel over the cursor
Hi, I've a tree and context menu associated with it. When I right click a tree item the context menu will pop-up below the cursor. In case the tree item at bottom of the page. the menu generated extends the page further. I need to scroll the page to see few of my menu items.. worst is that, when
Re: Popup panel over the cursor
int posLeft = event.getScreenX(); if ((posLeft + popupWidth) (Window.getClientWidth() + Window .getScrollLeft())) posLeft = posLeft - (posLeft + popupWidth - (Window.getClientWidth() + Window