Anyone know?
Printable View
Anyone know?
I have attached an example of a project I did using TreeView and ListView.
I hope this helps.
thanks, but your zip didnt show how to select an item with a command button.. :)
do u know how?? Ive tried everything from tvTreeView.Nodes(1).Selected = True to
tvTreeView.SelectedItem = 1
and a heluva lot more (10 different methods i think) but i just cant seem to select one!
It should Work..I tried it and it works
I Think the Index of your nodes could be inaccurate
Add a Command1 to my Project I sent you
Under Comman1_Click Event, add this
TreeView1.Nodes(4).Selected = True
You will see the Second Node Highlighted. Check and make sure your index number of the node is right