How do I invoke the editLabel on the treeview control?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, When the user select a tree node, right click and select the "Rename"
option in my context menu, I would like to create the Edit Label ability for
the user. I would like to have the blinking cursor on the selected node,
which will be in rectangle frame, and allow the user to edit the labe and
when it loses focus or hit enter then I'll get back the newly edited/entered
text of the treenode label. Can someone point me to a sample code or some
ideas on how to do this? Thank you.
 
Check out the following properties, methods and events:
TreeView.LabelEdit
TreeNode.BeginEdit
TreeView.BeforeLabelEdit
TreeView.AfterLabelEdit

There is sample code in there as well

/claes
 
Back
Top