Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there anyway to reference a Treeview node's childen?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Is there anyway to reference a Treeview node's childen?
Miscellaneous
Thread ID:
00340434
Message ID:
00340434
Views:
62
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
Reply
Map
View

Click here to load this message in the networking platform