double click on datagrid?

  • Thread starter Thread starter Francois Searle
  • Start date Start date
F

Francois Searle

Hi

I have a datagrid that is popolated by a search result. I would then like to
double click on a row to open the record in a new form.

The double click doesn't seem to "fire"? I am relively new to VB.NET (coming
from VB6). How does one capture the double click event on the datagrid?

Any tips will be appreciated.

Francois
 
Francois said:
Ok. But wait! That only works with grids that are not read-only. Any ideas?

Take a look at the code of 5.41 on that page. I've used that to
a) get rid of the edit thing (which normally shows up even in readonly mode)
b) color the whole cell/row when selecting a cell
c) catch the doubleclick.
 
this one really worked, thanks...


C-Services Holland b.v. said:
Take a look at the code of 5.41 on that page. I've used that to
a) get rid of the edit thing (which normally shows up even in readonly mode)
b) color the whole cell/row when selecting a cell
c) catch the doubleclick.
 

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

Similar Threads

datagrid 1
Datagrids 4
Simple data grid question 1
Adding Double Clcik to DataGrid 2
Handling a triple mouse click 3
Cancel/Clear Event Queue 5
Consistent Click Event for a datagrid 1
datagrid event 3

Back
Top