0

I want to use the double click and click events for c1flexgrid in vb.net, but when I double click it only goes to the click event handler and never fires the double click event.

How can I separately handle the click and double click events?

Matt H
  • 7,311
  • 5
  • 45
  • 54
Nay Zaw
  • 85
  • 4
  • 9

1 Answers1

0

As stated in MSDN :

Pressing a mouse button when the cursor is over any particular clickable control raises the events in following order:

  1. MouseDown event.
  2. Click event.
  3. MouseClick event.
  4. MouseUp event.
  5. MouseDown event.
  6. DoubleClick event.
  7. MouseDoubleClick event.
  8. MouseUp event.

Two single clicks that occur close enough in time, as determined by the mouse settings of the user's operating system, will generate a MouseDoubleClick event instead of the second MouseClick event.

Therefore,

Check your mouse settings.

Nilay Vishwakarma
  • 3,105
  • 1
  • 27
  • 48