Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [grid] Menu popup in void
[grid] Menu popup in void [message #588526] Sat, 09 February 2008 02:11
Grant Slender is currently offline Grant SlenderFriend
Messages: 36
Registered: July 2009
Member
Hi,

I've got a context driven menu popup happening when a user right-clicks
a row in the grid. This is working fine.

Unfortunately, when the user right-clicks in a non-populated row (at the
bottom) I still get a menuDetected event when nothing is selected. As
such, the context code is wrong. I could detect this non-selection and
not display the menu, but in the case where a clicks a row first,
selecting it, and then right clicks into a void I'd prefer to still not
show a menu as it might be unclear that the menu selection relates to a
row selected much higher.

Does anyone know the correct way to determine a right-click in this void
area that would result in a menuDetected event - so that I can safely
ignore this event and not show a menu.
Previous Topic:FormattedText Currency
Next Topic:Grid renderer to be aware of editor started or not.
Goto Forum:
  


Current Time: Thu Mar 28 14:45:45 GMT 2024

Powered by FUDForum. Page generated in 0.03717 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top