I have this code here, It will expand the treeview to the item but doesn't select it. I would like for it to select it just as if I clicked on it.
If anyone can help me with this I would sure appreciate it, Thank you.
VB Code:
Dim i As Integer For i = 1 To frmmain.TreList.Nodes.Count If frmmain.TreList.Nodes(i).Text = lstSearch.SelectedItem.Text Then frmmain.TreList.Nodes(i).Selected = True Exit For End If Next i
