I am using Treeview to create a dynamic menu with checkboxes. Each node may have up to 10 layers (or folders within folders) of childnodes. There is not a fixed number of layers.
When determining which items are selected, is there a programmatic solution to finding the youngest childnode in each and every folder, without having to sift through all one of them using If-Then or -Select- blocks?
Right now, I'm doing this...
**************
If xx.childnodes.count > 0 then
if xxchildnodes(i).childnodes.count > 0 then
if xx.childnodes(i).childnodes(0).childnodes.count > 0 then...and so on...
**************
and if I keep it up, I'm going to have a wildly LONG programming block.
I've tried using methods that I've used before with the System treeview, but they do not work the same way with EO.
Please help?
Thank you!