Reputation: 895
I have a treeview control. I use keyboard to navigate through nodes. I want to save a SelectedNode when I pressed a TAB key. How ?
"Save" : I mean it makes a selectednode == null when I press TAB key. I want that selected node still remains selected even if I pressed a TAB key inside treeview control.
C#, WinForms, 3.5, VS 2008
Upvotes: 1
Views: 825
Reputation: 2088
Set the HideSelection
property of the treeview control to false.
Upvotes: 1