How would you make TreeView nodes turn into TextBoxes to edit?

G

Guest

I have a TreeView and I would like to have it function so that when someone
right-clicks on a Node and chooses an option Edit under a context menu the
node changes from a read only label to a TextBox and I can edit the text.

What's a good way to accomplish this?
 
B

Barney

It's something like TreeView.BeginEdit, or TreeNode.BeginEdit I think.
Also, there's a property on the treeview that enables this
functionality automatically based on two single clicks on a node.

Don't forget to implement F2, too. ;-p
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top