Click and then ... double-click

B

Bob Howard

When the user double-clicks a control on which I have both OnClick and
OnDoubleClick events, does the OnClick event always fire first?

If so, is this optional (i.e., can I stop this from happening)?

If this is "just the way it is" ... does the OnClick event completely finish
processing before the OnDoubleClick event fires?

I use Access 2003...

Thanks folks!

bob
 
G

Guest

So long as the double-click is quick enough I'm pretty sure the OnClick event
will not fire.

This is something you can test by setting a breakpoint in your OnClick
event. If code doesn't break when you double-click then you know it is not
firing.

Steve
 
G

Guest

I've never tried it myself so I was guessing Access would wait for a
double-click before executing the OnClick event...

I suppose you will have to use another control or event.

What exactly are you trying to do?
Maybe we can suggest something else for you...

Steve
 

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

Top