DataGrid double-click detection

  • Thread starter Thread starter mdb
  • Start date Start date
M

mdb

I need to detect when the user double-clicks on a cell in a DataGrid in
WindowsForms, but the doubleClick event doesn't seem to respond when its in
the data area. (It does respond if I double click the row header.)

Any suggestions?

-mdb
 
Hi,

mdb said:
I need to detect when the user double-clicks on a cell in a DataGrid in
WindowsForms, but the doubleClick event doesn't seem to respond when its
in
the data area. (It does respond if I double click the row header.)

Any suggestions?
-mdb

This FAQ, look up "How do I catch a double-click event in a DataGrid".

http://msdn.microsoft.com/smartclient/community/wffaq/ctrlsp.aspx

You might want to consider posting posts on windows controls in
microsoft.public.dotnet.framework.windowsforms
or
microsoft.public.dotnet.framework.windowsforms.controls

HTH,
Tom T.
 

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