Visual Basic.NET - Tree View

 
Vista:

Tree View

Publicado por Richard Alexis (13 intervenciones) el 25/03/2004 23:54:49
HOLA ME GUSTARIA QUE ME ORIENTARAN A UTILIZAR EL TREE VIEW DE UNA MANERA FACIL YA QUE SOY PRINCIPIANTE UTILIZANDO ESTE CONTROL.
ME GUSTARIA QUE ME AYUDEN LLENAR EL TREE VIEW DESDE UNA BASE DE DATOS Y HACER OPERACIONES COMO AÑADIR,MODIFICAR,ELIMINAR
MUCHAS GRACIAS
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

RE:Tree View

Publicado por David (49 intervenciones) el 26/03/2004 00:36:45
Dim oNodoN1 As Node
Dim oNodoN2 As Node
With trvArbol
.Nodes.Clear
Set oNodoN1 = .Nodes.Add(, , "ITEM_A1", "Datos Básicos", strImagenBasicos, strImagenBasicos)
Set oNodoN2 = .Nodes.Add(oNodoN1, tvwChild, "ITEM_A11", "Mi Compañía", strImagenCerradoMenu, strImagenAbiertaMenu)
end with

Este ejemplo es para VB6, porque no tengo el de VB.NET pero se que así te funciona quitando los SET.

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