How to Distinguish a DblClick from a Click Event (109865)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q109865 SUMMARY
Usually when you issue two consecutive mouse clicks on a form or object,
you will receive a click event for the first mouse click and another click
event or a double-click event for the second mouse click -- depending on
the period of time between the mouse clicks.
At times, you may want to receive only the double-click event without the
preceding click event. This article describes how to write code to
accomplish this.
Modification Type: | Major | Last Reviewed: | 12/9/2003 |
---|
Keywords: | KB109865 |
---|
|