How to save a treeview selected node when I pressed a Tab key?
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
Set the HideSelection
property of the treeview control to false.
精彩评论