You can't stop it. You'll need to leave it out of your module if you want to
use the double-click event. By design, a double-click also triggers the
click event and its code will run before the double-click event's code does.
You could set a global variable in the DblClick event and then test that in
the Click event. However, the Click event occurs before the DblClick event,
so I don't know that that test will be meaningful -- you likely would be
testing before the variable had been set.
And if it did work, you'd need to reset the variable somewhere after the
Click event tests it.
--
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.