Visual Basic - Treeview

Life is soft - evento anual de software empresarial
 
Vista:

Treeview

Publicado por carlos villa (18 intervenciones) el 24/10/2003 22:58:56
Alguien me podría decir como utilizar un tree view en Vb, quizas un ejemplo con algo de codigo
Saludos
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

Treeview

Publicado por Kevin Harnolld Vechara Aguila (45 intervenciones) el 24/10/2003 23:19:49
Dim nodX As Node
Set nodX = TreeView1.Nodes.Add(, , "d", "Menu del Dia")
Set nodX = TreeView1.Nodes.Add(, , "dd", "PlatosTipicos")
Set nodX = TreeView1.Nodes.Add(, , "ddd", "Restaurantes")
Set nodX = TreeView1.Nodes.Add("d", tvwChild, "d89", "Conductores")
Set nodX = TreeView1.Nodes.Add("d", tvwChild, "d90", "Viajes")

' Crea un arbol de Dependencia d89
Set nodX = TreeView1.Nodes.Add("d89", tvwChild, "Deudas", "John")
Set nodX = TreeView1.Nodes.Add("d89", tvwChild, , "Brent")
Set nodX = TreeView1.Nodes.Add("d89", tvwChild, , "Eric")
Set nodX = TreeView1.Nodes.Add("d89", tvwChild, , "Ian")
For JJ = 1 To 8 Step 1
Set nodX = TreeView1.Nodes.Add("ddd", tvwChild, , "El Milagro # " & Str(JJ))
Next JJ
Set nodX = TreeView1.Nodes.Add("ddd", tvwChild, , "Salir")
For J = 1 To 6 Step 1
Set nodX = TreeView1.Nodes.Add("d90", tvwChild, , "9191" & Str(J))
Next J
For JJ = 1 To 6 Step 1
Set nodX = TreeView1.Nodes.Add("Deudas", tvwChild, , "9191" & Str(JJ))
Next JJ
TreeView1.LabelEdit = tvwManual
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:Treeview

Publicado por Carlos Gro (18 intervenciones) el 25/10/2003 19:18:45
Lo probare... oye Saludos y Gracias
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar