Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView question
Message
 
To
01/09/1999 17:00:00
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00259855
Message ID:
00260720
Views:
10

Joseph,

First of all, thanks for your help. Just to clarify, should the line:



For l_n = l_nChildIndex + (l_nChildIndex+l_nChildren-1)



be



For l_n = l_nChildIndex TO (l_nChildIndex+l_nChildren-1)



I tried your code. It was pretty close to what I
already have, but it still is not quite there.

The code you provided does the same thing mine does; it
loops through each node, then ITS child nodes, and continues
to drill down THAT tree.

The problem may also be that I recursively loaded the treeview
from a directory structure, so the index values at any given
level are not sequential.

The best illustration I can think of would be Explorer.
If you expand the 'C:' node, you see all the root level
folders.

How would I loop through all the root level 'folder' nodes,
not the subfolders under them?

Many thanks!

Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform