views:

165

answers:

1

This is really annoying. I'm using the label as part of a list item user control, where the user can click it to select the list item and double-click it to rename it. However, if you had a name in the clipboard, double-clicking the label will replace it with the text of the label!

I've also check the other labels in the application, and they will also copy to the clipboard on a doubleclick. I have not written any clipboard code in this program, and I am using the standard .NET labels.

Is there any way to disable this functionality?

+1  A: 

I have found this post. The last poster seems to have been given a solution by Microsoft, albeit not a perfect solution.

klausbyskov
The solution presented in that post seems to clear out the clipboard, which is more of a sidestep. But a little preferable to the earlier behavior, in my opinion.
DavidCarroll