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.

Signature
Thanks.
Claes Bergefall - 14 Aug 2006 16:39 GMT
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
> 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
[quoted text clipped - 5 lines]
> text of the treenode label. Can someone point me to a sample code or some
> ideas on how to do this? Thank you.
Pucca - 14 Aug 2006 18:58 GMT
I found that finally. Thank you for the help.

Signature
Thanks.
> Check out the following properties, methods and events:
> TreeView.LabelEdit
[quoted text clipped - 15 lines]
> > text of the treenode label. Can someone point me to a sample code or some
> > ideas on how to do this? Thank you.