|
-
Aug 2nd, 2000, 06:00 AM
#1
Thread Starter
Addicted Member
Hiyas,
I have two questions about TreeViews.
Firstly, how do I make the background transparent?
Secondly, how do I add one 'tvwChild' to another 'tvwChild', to make the tree 3 levels deep?
Thanks,
-Git
-
Aug 2nd, 2000, 07:13 AM
#2
Thread Starter
Addicted Member
Ok, I figured it out, but now I've got another problem.
I have 3 levels of the tree, the first level which contains 5 sub levels. I want to add nodes to different sub levels, but at the moment it's adding about 20 nodes to one sub level. Where's the variable which indentify's which sub level it goes in ?
Thanks,
-Git
-
Aug 2nd, 2000, 10:28 AM
#3
Frenzied Member
The first two paramters in your Nodes.Add determine the level. Use a number 1-5 as the first parm and the constant tvwChild as your 2nd parm
-
Aug 4th, 2000, 03:08 AM
#4
Junior Member
You can use the key of the node you want to add it under as the forst param.
Treeview1.Nodes.Add "KeyOfParent", tvwChild....
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
|