Solved

How to Start TreeView  with only the Root Node Showing?

Posted on 2002-04-27
3
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

749 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