>Hi!
>To find a node by text:
>
>for each x in thisform.olecontrol1.nodes
> if x.text = 'value_to_search'
> messagebox(x.key)
> endif
>endfor
>
>
>>How can I seek a value in the treeview.
Alexander,
I tried that once, and I got several errors. I posted a thread and Cetin helped me. He told me that there are some situations where FOR EACH doesn't work with ActiveX controls. So I started using FOR COUNTER = 1 TO TVIEW.NODES.COUNT accessing the items by TVIEW.Nodes(COUNTER). Works fine.
:)
Alonso
Like Frank said: "I did it... MY WAY!"