开发者

How to save a treeview selected node when I pressed a Tab key?

开发者 https://www.devze.com 2023-01-08 07:13 出处:网络
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 ?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消