Question DataGridView MouseUp Event

kriswinner

Member
Joined
Apr 23, 2009
Messages
23
Programming Experience
10+
Hopefully a dumb question, but I can't find a reference to it (or even acknowledgment anywhere online that it is an issue)...

I'm trapping the MouseUp event on a DataGridView. It works great as long as I click on an "unused" portion of the DGV. If I click on a cell, the event does not trigger. I'm trapping this event to display a context menu when the user right clicks on the DGV. To the end user, it won't matter if it is a cell or not.

Any thoughts?
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,548
Location
Norway
Programming Experience
10+

kriswinner

Member
Joined
Apr 23, 2009
Messages
23
Programming Experience
10+
I am truly an idiot.

I guess the reason that I couldn't find a reference to the problem anywhere is because no one else forgot that little gem of information.


Thanks!
 
Top Bottom