Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding a node in a treeview with the Key or FullPath
Message
De
21/09/2000 12:08:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00419077
Message ID:
00419108
Vues:
33
>Is there way to do that?
>
>I have a treeview with bunches of nodes (several levels deep). I need to be able to find a specific node by only knowing the Key or FullPath.
>
>The only thing I can think of is spinning through all the Nodes collections and looking for it. Is there a easier way, like oTree.FindNode() or something.
>
>tia


AFAIK not with fullpath but key :

oNode = ThisForm.mytreeview.Nodes(lcKeyValue)
_screen.print(oNode.Fullpath+chr(13))
oNode.EnsureVisible

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform