>Hi All,
>
>I would like to search for a node in a treeview based on the key and select the item when found. How would I do that?
>
>TIA
>M
In addition to Cetin make sure that this node is visible:
myTv.SelectedItem = myTv.Nodes("key")
myTv.SelectedItem.EnsureVisible()
myTv.Nodes("key").Selected = .t.
myTv.Nodes("key").EnsureVisible()
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.