CodePudding user response:
Using a recursive algorithmCodePudding user response:
Recursion is yao, pseudo code:Sub findroot ()
For each node in the treeview. Nodes
Findchild node
Next
End sub
Sub findchild (parentnode)
For each node in parentnode. Nodes
Findchild node
Next
'add code here to process the current node
End sub
CodePudding user response:
Back to the two teachers, I would, but to nodes in the treeview node basic don't understand, don't know what to preach which parameter values, which node