Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
OS:
Windows Server 2012 R2
Network:
Windows Server 2012 R2
Virtual environment:
VMWare
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement