Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build on the Fly TreeView Example
Message
De
10/12/2000 10:04:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Build on the Fly TreeView Example
Divers
Thread ID:
00451335
Message ID:
00451335
Vues:
70
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform