View Single Post
  #2 (permalink)  
Old March 22nd, 2005, 12:02 PM
BrianWren BrianWren is offline
Friend of Wrox
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

I'm guessing, but I believe you are going to have to “walk the tree,” recursively following each branch, and checking the properties of each node.

I believe each node but the root node has a .Parent property.

It is likely to be easiest to just keep track of all changes to the tree (storing values in variables to represent the tree), starting from a known position when the program initially runs.
Then you can permit (or not) checking a node based on the information you have stored, rather than through “reading” the tree all over again.

What does it mean to be Pinoy?
Reply With Quote