Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build on the Fly TreeView Example
Message
From
10/12/2000 10:04:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Build on the Fly TreeView Example
Miscellaneous
Thread ID:
00451335
Message ID:
00451335
Views:
69
Having the need to speed up my TreeViews as the tables have grown I started to search for a way to speed them up.

After studing David's TreeView101 example using a directory and his Build on the Fly coding I realized that that was the way to go. But I needed to do it on a set of relational tables not a directory listing. I also needed to be able to selectively allow a multiselect of some levels on the tree. Thanks to David's example I coded one using the sample customer/orders database. I did the multiselect on the treeveiw by using the .Bold and the MouseDown to see if the shift key was pressed while the left mouse was clicked on a node. Then I stored to or removed from an array the unique ID's of the items selected. This gave me the list of items that were selected for later processing.

I have placed the TreeViewII Example on my web site. Enjoy

http://www.semo.net/suburb/thornton/visual.html
Next
Reply
Map
View

Click here to load this message in the networking platform