Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to add to treeview

Status
Not open for further replies.

lleemon

Programmer
Mar 26, 2002
21
GB
I initially have the following code in a Command_Click button:
Set nodx = tvwLots.Nodes.Add(, , "main", "main")
Set nodx = tvwLots.Nodes.Add("main", tvwChild, "jRock", "jRock")
Set nodx = tvwLots.Nodes.Add("main", tvwChild, "jT", "jT")

Is it possible to have another command button that will add to this the current treeview?

I keep getting the error 'Element not found'.
Do I have to reinitialize something?

Thanks.
Lee
 
What does the code in your second command button look like? Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top