Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan Treeview's nodes in order they appear on screen
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Scan Treeview's nodes in order they appear on screen
Miscellaneous
Thread ID:
00853065
Message ID:
00853065
Views:
50
Hi,

We display a treeview based on a table. On a table built manually (ie the first time the app runs), the display if perfect. Then the user select a node and can add an item from the listbox on the right, resulting in adding a child node to the currently selected node. This all works fine until the moment we want to save the modifications.

We wanted to scan all the nodes in the treeview one by one and rebuild the table on which it was orginally created so that next time it's opened, all the nodes will appear in the exact same order the user added them, but the Index property is corresponding to the order in which the items were added.

How can we scan the treeview's nodes in the order they are displayed ? Or if not possible, how can we save the user's modification to the treeview ?

Thanks,
Sylvain Bujold
Next
Reply
Map
View

Click here to load this message in the networking platform