Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Build on the Fly TreeView Example
Message
De
11/12/2000 06:46:05
 
 
À
10/12/2000 10:04:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00451335
Message ID:
00451515
Vues:
27
I let a label that was subclassed get into the example file. If anyone d/led the file TreeViewII.zip from my web site before 6am Central time Monday please download the corrected copy or open the form as a table and remove the reference to the VCX for the label named clabel and change the name to label.

Enjoy!

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform