DblClick is a non-event

A

Allen_N

I can't get the DblClick event to fire. I've tried in on a couple of
different forms with bound & unbound controls (no header or footer),
double-clicking all over the place. Is there a flag that needs to be enabled,
somewhere?

(N.B. Using Access 2003 on XP. Double-clicking works fine in Windows, so it
can't be the Control Panel setting.)

Thanks!
Allen
 
A

Allen_N

Sorry, Steve, I didn't give enough info.

I want the event to fire by double-clicking on the form itself, rather than
 
S

SteveM

Can I ask why?

There may be a better way of doing what you are trying to achieve...

Steve
 
A

Allen_N

I want to be able to electively run debug code without sticking an extra
button on every form that should have the facility. I also just want to know
why it doesn't work.
 
S

SteveM

Don't know why it doesn't work. I've never tried it...did you use the
DblClick event of the Detail section?

What I usually do is place a small button in the corner of a form and set it
to Transparent. Then use the double-click event of that. In your case it may
be useful since you could change the transparency of the button to show you
that debug mode is on or off...

Steve
 
S

SteveM

I just tried using the DblClick event of the Detail section and it worked
fine...

Steve
 
D

Dirk Goldgar

In
Allen_N said:
Sorry, Steve, I didn't give enough info.

I want the event to fire by double-clicking on the form itself,
rather than on a particular control.

The form's Click and DblClick events only fire when you click on the
record selector. You should use the DblClick event of the Detail
section, and maybe Header & Footer sections if you show them.
 
A

Allen_N

Thanks again, Dirk!

Dirk Goldgar said:
In

The form's Click and DblClick events only fire when you click on the
record selector. You should use the DblClick event of the Detail
section, and maybe Header & Footer sections if you show them.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 

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