le ka

le ka

  • NA
  • 3
  • 0

Problem with KeyDown event in UserControl

Jul 6 2007 5:12 AM
Dear all,
  Please show me the way to solve a problem following : I have a MyClass class derived from UserControl class, I aslo override OnKeyDown method in the class. But the method works incorrectly(at least in my opinion), with many keys the KeyDown event is raised(a, b, c, ... key) but with many keys as Tab, Left, Right, ... the KeyDown event is not raised. Please show me the way to raise KeyDown event with Tab, Left... key(I must use the class derived from UserControl class, I use C# language and VS 2005).

 Thanks you very much and best regard.
 Ka.


Answers (2)