Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionPrivate Sub Rchild(n As MSComctlLib.Node) ' c'est ici qu'on traite le noeud MsgBox n.Text ' recherche des enfants If Not n.Child Is Nothing Then Rchild n.Child End If ' plus d'enfants, on revient au noeud suivant If Not n.Next Is Nothing Then Rchild n.Next End If End Sub
Private Sub Rparent(n As MSComctlLib.Node) ' c'est ici qu'on traite le noeud MsgBox n.Text ' recherche du précédent If Not n.Previous Is Nothing Then Rparent n.Previous Exit Sub End If ' recherche du parent If Not n.Parent Is Nothing Then Rparent n.Parent End If End Sub