Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fetch a TreeView
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00177882
Message ID:
00178287
Views:
19
Hi Esteban,

If all you need to do is to extract/print the contents of all your TreeView nodes you can do something like this:

DIMENSION aArray[ THISFORM.TreeView.Nodes.Count ]
FOR x = 1 TO THISFORM.TreeView.Nodes.Count
aArray[ x ] = THISFORM.TreeView.Nodes(x).FullPath
ENDFOR

In the above code, all of the nodes values are loaded into an array. You can take this array and maybe place its contents in a table which you can then turn around and run a report from.
Juan L. Romero
gcandela@javanet.com
Previous
Reply
Map
View

Click here to load this message in the networking platform