i create a popup menu from clicking on a listbox cell. in the case of when no menuitem is clicked, i want to close the popup when the mouse moves off of it. is there a shortcut to doing this other than calculating all of the x, y coordinates of the popup?
How are you displaying the popup menu? Clicking outside a popup menu closes it automatically.
Check out Examples/Desktop/Controls/ListBox example for one way to do a popup menu from within a ListBox cell.