Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using treeview in mscomctl.ocx
Message
De
26/01/2018 14:43:10
 
 
À
26/01/2018 14:21:54
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Divers
Thread ID:
01657506
Message ID:
01657575
Vues:
50
Before I get into finding, downloading, testing etc - how close does this class look to a "good" treeview?

Doug Hennig's articles are good but not all code is there so hard to reproduce (he uses "dummy" entries so that all the nodes do not have to be loaded upon instantiation when there is a lot of data - and then he removes the dummy and replaces it with the real data when the user clicks a node).

Albert

>>Hi,
>>
>>Has anyone written an article on using the treeview control in MSCOMCTL.ocx - instead of me starting from scratch...
>
>Actually, if you don't have an existing implementation, then just don't. The treeview is 20 years old, it has several not-so-nice features (for instance, clicking on the line but not on text will not trigger a .nodeClick() event). There's a decent implementation of a treeview as a grid here in downloads. If it weren't for the dozen places where the code is already wrapped around the treeview in the app (and spaghettied into it tightly), I would have replaced it with this class.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform