I would need to know how to let the programatically selected node make graphically in the state “selected” like the user clicked on it. SelectedNode only makes this one internally selected. Thank you very much!
I would need to know how to let the programatically selected node make graphically
Share
The reason it does not show as highlighted is due to the tree view not having focus. This is in a button click event on my test form:
Which highlights the node properly. if you remove the
Focus();call it doesn’t highlight until you click into the tree view (anywhere in the tree view, not necessarily on to the node that you want to be selected).