Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Single click acting as double click in form designer
 

Single click acting as double click in form designer

For some reason, when I'm editing a property of a control in Design View and then single-click back on the form designer, the IDE acts as if I double-clicked, and goes to the code for the Form.Load event-handler, for example. Has anyone else experienced this? Is there a setting that I changed somewhere that fixes this, or is it a bug?

Thanks for your help.

-Mike

mikecoop83  Thursday, January 26, 2006 6:50 AM

I found a bug submission regarding this problem @ Connect:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=234223

It was submitted in Nov 06, with no comments from MSFT...

Also, another bug report:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=121703

This was is closed because it "could not be reproduced"...

Derrick Powell  Monday, January 29, 2007 2:02 PM

I am searching this forum for the same answer...

Derrick Powell  Friday, January 26, 2007 4:39 PM

I found a bug submission regarding this problem @ Connect:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=234223

It was submitted in Nov 06, with no comments from MSFT...

Also, another bug report:

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=121703

This was is closed because it "could not be reproduced"...

Derrick Powell  Monday, January 29, 2007 2:02 PM
I've been having the exact same problem too. I'm not certain, but I believe it began happening when I upgraded to SP1.

It doesn't happen all the time. I haven't been able to come up with a correlation between number of files open, number of projects in the solution, number of forms open, or anything like that. I can't reproduce it right now.

The way it always happens for me is if the form designer doesn't have focus, and then I click on the form designer or a control on the form. If the designer already has focus, the problem doesn't occur.
BlueMikey  Monday, January 29, 2007 5:30 PM

This same thing happens to me as well when editing Windows Mobile forms. Singel clicking something in the designer MAY generate a default event handler for either the item clicked on, or the form benethe it. Also click-holding in order to drag something into it's proper location MAY also generate a default event handler. The frequence of this happening is really high, perhaps 80% of the time and it's driving me nuts.

I did not have any problems with this before installing SP1. I installed SP1 yesterday and after that it started happening.

I don't have any problems with this on my computer at work, there I also have SP1 installed but this click-default-event problem does not appear there.

UncleRedZ  Saturday, March 17, 2007 9:06 PM
Using VS2005 SP1. This started when I applied SP1

The way I have been able to reproduce it is as follows:
Form Designer is on one vertical tab group, code is on another
Code has focus, FD window does not
Single-click on any control in the FD tab group and the default event for the control is created (aka double click behavior)

If I click on the tab group the FD is on, then single click the control, no code is automatically generated.

This is real annoying because the new method is created at the end of the code, and I'm often checking the code associated with a control then have to go scroll back to place I was in. Defeats the whole point of having two monitors Smile.

Hopefully someone at MS can fix this in the next service pack.


CWGibbs  Thursday, August 02, 2007 3:04 PM

Has there been a fix yet???????

It's now been two years.


software developer
_Doug Bell  Thursday, September 03, 2009 1:35 PM

You can use google to search for other answers

Custom Search

More Threads

• UserControl collection properties
• Force property grid to completely refresh.
• How can I hide from grid "(name)" property of my control?
• C# help. No value retuning to label from constructor
• Form border color
• Deleting left over controls
• Forms inheritance properties problem
• Create the Drop-Down List of Controls in a Properties Window like VS
• TabControl question...
• When ToolStrip Input Field is Focused.. Cant Hover Other Buttons in Tool Strip