Custom control that can get keyboard focus?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
What Control would be a good idea to use if I want to be able to let my control get the keyboard focus? Can I make a usercontrol get the keyboard focus and react to keyboard events?
-
What Control would be a good idea to use if I want to be able to let my control get the keyboard focus? Can I make a usercontrol get the keyboard focus and react to keyboard events?
UserControl should repond by default to key strokes. For a custom control, you mite need to enable:
SetStyle(ControlStyles.Selectable, true);
top secret xacc-ide 0.0.1