mikecoop83

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



Re: Windows Forms Designer Single click acting as double click in form designer

Derrick Powell

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





Re: Windows Forms Designer Single click acting as double click in form designer

Derrick Powell

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"...





Re: Windows Forms Designer Single click acting as double click in form designer

BlueMikey

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.




Re: Windows Forms Designer Single click acting as double click in form designer

UncleRedZ

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.





Re: Windows Forms Designer Single click acting as double click in form designer

CWGibbs

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.