Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding a node in a treeview with the Key or FullPath
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00419077
Message ID:
00647687
Views:
19
>>If you used THISFORM.treeview.nodes.ADD(parent, level, index-key, icon) to populate the the treeview. You can use THISFORM.treeview.SELECTEDITEM.KEY to get the index_key of the node you doubleclicked on.
>
>Thanks Michael,
>
>I writing a search method where the user can type in some data and I go and find it in the treeview and make that the selected item. Thanks.

Hi Roi, I was reading your forum message on searching for item in the node and I am having problems getting started on looking up data and then selecting the found data in the node. Do you have any suggestion on how I can get started on that. I am not very familar with the tree activex, but I have successfully populated the tree, however I need to write a search routine where my user types in the value, and then I would like to locate the value in the tree with the value selected and other nodes it belongs to being expanded.

Thanks
Nick Patel
Previous
Reply
Map
View

Click here to load this message in the networking platform