Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview...arrrrrgggghhhhhhhhh --HELP!!!!
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00552780
Message ID:
00553226
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform