Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview...arrrrrgggghhhhhhhhh --HELP!!!!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00552780
Message ID:
00553226
Vues:
21
Johnny,

If I understood you correctly (not very often) you can create a method in the form ie. CheckChilds, and then in the nodecheck event call
thisform.CheckChilds(loNode), and the method:
lparameters loNode
local loChild

loChild=loNode.Child
do while not isnull(loChild)
	loChild.Checked=loNode.Checked
	thisform.checkchilds(loChild)
	loChild=loChild.next
enddo
Hugo

>Okay i feel better now....
>I'm trying to check the nodes box. For the likes of me i can't figure the treeview thing out.
>
>I have it building a small list with child nodes one level deep.
>I would like to select the root node and the loop through all child nodes and make the checked as well.
>
>TIA
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform