Link to home
Start Free TrialLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

c# applicationSingle Click, Double Click Event distinction in run-time and in a debug session of VS 2010. How?

Hi there;

I have a c# application I captured Single Click Event, but cannot get the double Click Event, what is the difference btw. in run-time and in a debug session of VS 2010. I appreciate your initerest.How?


Kind regard.
SOLUTION
Avatar of manishkungwani
manishkungwani

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jazzIIIlove

ASKER

I can see the double event in VS 2010, but when I click, the single click event occurs. It's a datagridview like component.

Kind regards.
Avatar of dj_alik
dj_alik

check the CellDoubleClick event
You can write an event handler for DoubleClick on various parts of the control.
The complete details are on: http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.aspx

Something else that can work for you is do not write an event-handler for the SingleClick, write it only for the double click :)

Also, if you can tell on which part of the control, you get the single click instead of the double click, I can help some more.
I am using the component here given:
https://www.experts-exchange.com/questions/27022725/wildcard-adaptation-in-C.html

Note that those are complete different questions but the component I am dealing is same.

Kind regards.
So are you using a GridView?? Is it a website or a desktop software?
standalone desktop, I am using componentone TrueDBGrid, go for their site and download it, it's fancy!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yep, try to capture the double click on column separator of  aTrueDB component.


Komd regards.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To moderators,
Please accept the solution as requested by the author, so that the community can benefit from the correct solution and I can get the deserved points.
Thanks
cursor change event is the solution!