How to make a label editable in vb.net??

Recommended Answers

All 2 Replies

You don't. Use a textbox, hide the borders, and use the grey background so it appears as a label but is really a textbox. I suppose you could set the textbox readonly or swap it out with a label if you have an "Edit Mode" versus "Normal Mode"

Scott,
I think @k.vijayakumar wants to edit label of treeview or listview.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.