By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,984 Members | 2,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,984 IT Pros & Developers. It's quick & easy.

Double mouse click mystery

P: n/a
Strangely, one of my forms has acquired an odd "feature." On many things
that used to require a single click, or a single hit on the Enter key, now
require two clicks, or two hits.

For example, to cycle through records using the left and right arrows at the
bottom of the form, I have to click twice to get it to advance one record.
If I open the "Find" window (it will open with one click) and type something
in the "find what" box, I have to click on "Find Next" twice to get it to
move..and then twice again to get it to find the next one, etc.

It only seems to be happening with one form. Of course, it's the form I've
done most of my recent work on, so I have no idea what might have triggered
it.

Does anyone else have an idea?

Thanks in advance.

Jerry
Nov 13 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Jerry Crosby wrote:
Strangely, one of my forms has acquired an odd "feature." On many things
that used to require a single click, or a single hit on the Enter key, now
require two clicks, or two hits.

For example, to cycle through records using the left and right arrows at the
bottom of the form, I have to click twice to get it to advance one record.
If I open the "Find" window (it will open with one click) and type something
in the "find what" box, I have to click on "Find Next" twice to get it to
move..and then twice again to get it to find the next one, etc.

It only seems to be happening with one form. Of course, it's the form I've
done most of my recent work on, so I have no idea what might have triggered
it.

Does anyone else have an idea?

Thanks in advance.

Jerry

DO you have any OnKey/OnMouse events in the code? Open up your form's
module and do a search for Mouse and Key. Check your activate, unload,
close, form's beforeupdate events for something that cancels. IOW,
search for Cancel = True. Or do you have a Timer doing anything?

Nov 13 '05 #2

P: n/a
Unfortunately, I didn't find any such thing on that form. Any other ideas?

Jerry
Nov 13 '05 #3

P: n/a
Jerry Crosby wrote:
Unfortunately, I didn't find any such thing on that form. Any other ideas?

Jerry

Well, you can try this but it may not do anything for you but add some work.

Rename your current form to another name. Ex Form1 is now Form1Save.

Open up Form1Save in design mode.

Now create a new form.

Highlight all controls in Form1Save and copy/paste them into the new
form. Select the code module in Form1Save and do the same. Now save
this new form as Form1. See if that helps.

If not, remove all of the code in Form1 (you have the code in Form1Save)
and run. See if the problems with the nav buttons is gone. If so, you
have some code/macro that is doing something I would think.

Nov 13 '05 #4

P: n/a
I'll give that a try tonight, but how do I select the whole code module from
the existing form? If I look at the database window, there is nothing
showing under "modules". If you mean all the VB code with the form, I guess
I need to know how to select it all.

Jerry
Nov 13 '05 #5

P: n/a
Jerry Crosby wrote:
I'll give that a try tonight, but how do I select the whole code module from
the existing form? If I look at the database window, there is nothing
showing under "modules". If you mean all the VB code with the form, I guess
I need to know how to select it all.

Jerry

Well....open up the code window for the form (not a module under modules
tab)...and from the menu select Edit/SelectAll. Then Edit/Copy. Then
click off. Go to the NewForms module and click Edit/Paste.

I would have provided the shortcut keys for these commands but Windows
may be something new to you.
Nov 13 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.