Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView question
Message
 
À
01/09/1999 17:00:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00259855
Message ID:
00260720
Vues:
11

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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform