Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to clear all nodes in Treeview at one go
Message
De
30/06/2000 08:41:52
 
 
À
30/06/2000 00:29:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00386350
Message ID:
00387008
Vues:
16
Take look at my web site for a working treeview example

http://www.semo.net/suburb/thornton/visual.html

>Hi Tim & Sergey,
>
>This is what I do anyway, but I think there has to be another better way instead of removing each node. The method thisform.otree.nodes.Clear eventhough removes all the nodes at one go, when you add them back again it produces error saying "The key has already been defined".
>
>Thanks for your response.
>
>Regards
>Vijay
>
>>Not sure what you mean but i do it like:
>
>>FOR lnI=1 TO thisform.otree.Nodes.Count
>>thisform.otree.nodes.remove(thisform.otree.Nodes[lnI].Index)
>>ENDFOR
>
>>HTH!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform