Windows.Forms.Control derived class with TabStop and key-events

Posted by David Rutten on Stack Overflow See other posts from Stack Overflow or by David Rutten
Published on 2010-05-03T16:38:19Z Indexed on 2010/05/03 17:48 UTC
Read the original article Hit count: 338

Filed under:
|
|
|
|

I've got a control that derives from Forms.Control, it handles mouse events and paint events just fine, but I'm having a problem with key events. I need to handle Left arrow and Right arrow, but so far the Tab control that contains my class eats these.

How do I make this control selectable, focusable?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms