Notifications
Clear all

[Closed] dotNet TreeView – Keeping selection/focus?

I’ve got a dotNet treeview in my script, the user can select a category as required and as expected the selected treenode turns blue to show it’s selected, but as soon as the user clicks elsewhere in the interface the treeview loses the blue selection. I’m storing the selection tag value in a variable so my script is still working it would just be nice to have it maintaining selection/focus so the user knows for sure what it’s set to…

Sure it’s a simple thing, Paul?

3 Replies

Incase i’m not being clear, just like the treeview below.

treeview.HideSelection = false

MSDN is an invaluable resource for this type of thing:MSDN TreeView properties

Perfect, knew it was a silly question with an easy answer…