Disable keyboard navigation in Tree [message #992286] |
Fri, 21 December 2012 04:28 |
Daniel Herding Messages: 1 Registered: December 2012 |
Junior Member |
|
|
If a Tree has focus, it will select tree items when you type letters. In general, that is a nice feature.
In my project, however, there is a requirement that certain letters are hotkeys for actions (e.g. the N key adds a node to the tree). We added a key listener that performs these actions.
Now when I press N, it first performs our action, and then selects a node that starts with "N".
Is it possible to disable the keyboard navigation in Trees so that typing a letter will only perform our action, and not select anything?
|
|
|
Powered by
FUDForum. Page generated in 0.08872 seconds