Datagrid - Doubleclick event

  • Thread starter Thread starter Duke
  • Start date Start date
D

Duke

Trying to learn vb.net & am frustrated.

I've got data in a grid. Want user to be able to double-
click on a row and see a new form with additional detail
for that row.

Works fine, so long as user doubleclicks on the grid's row
selector along the left border.

How do I trap this if the user doubleclicks on a cell in
the row instead? I've tried to use the mouse-up & mouse-
down events, checking to see how many clicks are contained
in the MouseEventArgs, but the click count is always 1

Thanks
Duke
 
Hi Duke,

There's a dedicated DoubleClick event you could try to handle instead.
 

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