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