Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build on the Fly TreeView Example
Message
 
 
To
10/12/2000 10:04:01
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00451335
Message ID:
00451379
Views:
29
John,

I wanted to take a look at your code and there's an error opening the form fwbase.vcx was not included in the zip. BTW you probably want to turn off the store of your directory structure in the zip file.

>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
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform