Hello!
I am trying to activate a node in a wintree but I don't really think that i have succeeded yet...
Tree.ActiveNode = Tree.Nodes(
"MyNode").Nodes("MyNodeAgain")
Tree.ActiveNode.Selected =
True
The node gets active but I would like to get the same appearance of the node as on the image. That is when you have clicked on it...
I am sorry for this question but I cannot find the property or method for this..
Probably a fast and quick solution ;-)
Thanks!
/Henrik
Ciao!
I used the HideSelection property and it worked just perfect!!!
Thanks a lot for the help... It does look a lot better know...
I think what might be happening is that the node is in fact active and selected, but because the HideSelection property defaults to true, it is not depicted as such because the control doesn't have focus. You can either set HideSelection to false, or select the control after selecting/activating the node.
Note that the node will appear selected when it doesn't have focus, but it will not display the focus rectangle.