Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there anyway to reference a Treeview node's childen?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Is there anyway to reference a Treeview node's childen?
Divers
Thread ID:
00340434
Message ID:
00340434
Vues:
61
When I click on a node I want to loop through the children of that node and load any children those nodes may have. I want to load the treeview as the user traverses the tree. I was looking for something like:

In the Expand event

LPARAMETERS node

oNode = this.SelectedItem

for each oChild in oNode.children

{run query for oChild}

for nCtr = 1 to _tally
this.nodes.add(oChild.Index, 4,, {field}, 1, 0)
next
next

Any ideas??

TIA

Lee
Répondre
Fil
Voir

Click here to load this message in the networking platform