How To Add Explorer Style Rename Capability to TreeView Control (192170)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q192170 SUMMARY
The following procedure can be used to edit the node name on the TreeView
side of the Windows Explorer:
- Click on a node with focus to place it in edit mode.
- Remove all the text from the Node label.
- Move focus to a different Node.
- You receive the following error message:
You must type in a file name.
- Focus returns to the Node you were editing and you remain in edit mode.
- If you hit the Esc Key, the original text is placed back in the Node label.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB192170 |
---|
|