I have what I consider to be a pretty unique problem here, and no idea how to implement. From what I've seen, there is no documentation, tutorials, samples and/or articles on this. I've spent weeks researching, with nothing to show.

The problem:

I need the user to be able to select the contents of a Label Control at runtime, and edit it.

If this can be done by extending the existing Label control, great! Or, if this requires a whole new Label Control to be created, fine. So be it.

Why is using a textbox not an option? A label is not editable, nothing you can do makes it editable, or rather.... if you succeed in making a label editable... tada... you've made a textbox.
–
Lasse V. KarlsenApr 30 '10 at 20:55

I agree with Lasse - all you will have succeeded in doing is creating a textbox. If you're concerned that the textbox needs to look like a label then try adjusting the border and background color - you should be able to make it look like a label. If all else fails, inherit from Textbox and make your own custom control.
–
TLiebeApr 30 '10 at 20:59

I also agree with Lasse. I would love nothing more to be working with a different company right now.
–
anon271334Apr 30 '10 at 22:06

The company I work for is run by uneducated people, who never wish to explain their decisions. The only thing I can think of is the fact that the TextBox has no Transparency property in the designer.
–
anon271334Apr 30 '10 at 21:11

Make no sense. something like this, deserves a good explanation. You're not their slave :-)
–
Claudio RediApr 30 '10 at 21:17

Could you pop up a window with a text box in it and then have them edit it there, then set the text property of the label based on the edited text box or do you need to edit it in place? You can set the label text at runtime, but for user input you will have to use a text box.