c# - AdvTree select all nodes programatically -
i trying select nodes on ctrl + on advtree. set allow multiselect.
i have event previewkeydown check ctrl, , pressed.
i tried this:
for each nd node in tvcomputers.nodes     nd.setselectedcell(nd.cells(0), nothing) next but selecting last item in tree, doesnt seem add selected list
nevermind if found it, thought ill put others see couldn't find anywhere
 each nd node in tvcomputers.nodes      tvcomputers.selectednodes.add(nd)  next 
Comments
Post a Comment