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.
 
Back
Top