Datagrids

  • Thread starter Thread starter Mike W
  • Start date Start date
M

Mike W

I have created a datagrid on a form. I have put a
contextmenu on the grid. Using the mousedown event of the
grid I display the contextmenu on right clicks. The
trouble I am having is that if you left click a cell in
the grid then right click the default popup comes up. If
I right click in a cell that is not selected ti works fine
and displayes my popup menu. Any help would be
appreciated.
 
Why not just set the DataGrids ContextMenu property..

Takes away from all the BS you gotta do. =)

-CJ
 
The behavior is still the same.

-----Original Message-----
Why not just set the DataGrids ContextMenu property..

Takes away from all the BS you gotta do. =)

-CJ



.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top