Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding a node in a treeview with the Key or FullPath
Message
From
21/09/2000 12:08:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00419077
Message ID:
00419108
Views:
34
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform