|
-
Aug 5th, 2000, 01:21 AM
#1
Thread Starter
Addicted Member
Hiyas,
A few things...
1. I want it so when you click a node it doesn't enable you to rename it, at all, under any circumstances, nada. =) How would I do this?
2. When you click a node, I want it so it gets the text of that node and gives it to you in a MsgBox. How would I do this?
I've only just started learning about TreeViews, and I'm finding it daunting. Any help would be greatly appreciated. =)
-Git
-
Aug 5th, 2000, 03:30 AM
#2
look on the property page of the treeview, there is option for this exact thing, its called "LABELEDIT" set it to TVWManual
-
Aug 5th, 2000, 02:19 PM
#3
As far as your second question goes, you can put the following code in the NodeClick event:
Code:
Private Sub TreeView1_NodeClick(ByVal Node As MSComctlLib.Node)
MsgBox Node.Text
End Sub
"It's cold gin time again ..."
Check out my website here.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|