Solved

How to Start TreeView  with only the Root Node Showing?

Posted on 2002-04-27
3
158 Views
Last Modified: 2010-05-02
I would like the Display of the TreeView to start out showing only the Root Node. Anyway of getting it to rollup after populating it?
0
Comment
Question by:eeevbeee
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 50 total points
ID: 6974486
I haven't  your problem:
this is my example:
Private Sub Form_Load()
Dim nd As Node
Set nd = tv.Nodes.Add(, , , "culo")
tv.Nodes.Add 1, tvwChild, , "uno"
tv.Nodes.Add 1, tvwChild, , "dos"
End Sub
0
 

Author Comment

by:eeevbeee
ID: 6974504
yes, you are right, I had EnsureVisible set.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6975147
Yeah, that was my first thougth too.
Thanks for "A" grade.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now