473,395 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Double mouse click mystery

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
5 1690
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
Unfortunately, I didn't find any such thing on that form. Any other ideas?

Jerry
Nov 13 '05 #3
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Harry J. Smith | last post by:
How can you detect a mouse double click on a text box? I tried the following but it does not work. private void richTextOut_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) //...
1
by: objectref | last post by:
Hi to all, i have an app that i allow a drag and drop operation of picture boxes on a panel. when i drop a picture box i do the following so my newly dropped picture box will be able to...
1
by: Sakharam Phapale | last post by:
Hi All, How to capture Mouse Single click and mouse double click event on Commnad Button. I am doing as follows. Private void Button1_MouseUp(Object sender,...
5
by: Nick | last post by:
Hey guys, I have 2 events on a windows forms datagrid, the mouse move as well as the double click events. What's happening is that when I double click on a row in the grid, the mouse move event...
2
by: scott_gui | last post by:
I am creating a Windows application: The mouse event <Double-Button-1> has a conflict when the <Button-1> event also has a binding. Double clicks will first perform the single click action. This...
0
by: mmcd79 | last post by:
I'm wondering if anyone else is having this issue. It's driving me batty. It seems my mouse wants to "double click" on items when I'm just doing a single click. I thought it was the mouse so I...
9
by: Armando | last post by:
I have an app (A2000) where I am letting the user move an object on the screen. I use the OnClick for a command button event to modify the object's Top (or Left) properties, but you can only click...
0
by: Paul DeWitt | last post by:
I have a textbox on a Windows Form. I am wanting to display a popup form to request/validate info if the user clicks the textbox and have a different form (to delete data) load if the user either...
3
by: =?Utf-8?B?ZHJpdmVyZGF2ZQ==?= | last post by:
i recently did a full reinstall of my windows xp. complete full format etc all current mainboard drivers etc. i used to be able to double click in my computer and that would open the drive i...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.