G
Guest
I have a series of graphical User controls on the screen which which do not
posess any user input controls so no tab stops. I need to have them respond
to key press events to move left or right (arrow keys) or Delete. My problem
is I can't get the KeyPress event to fire for any keys standard or non
standard.
I have set the Form's Keypress property to True but want to capture the
keypress inside the UserControls themselves. I have Set the UserControl's
KeyPress Event as well as tried overriding the OnKeyDown, OnKeyPress, and
IsInputKey.
Still I am not triggering the KeyDown or KeyPress events.
Is there a trick to this???
posess any user input controls so no tab stops. I need to have them respond
to key press events to move left or right (arrow keys) or Delete. My problem
is I can't get the KeyPress event to fire for any keys standard or non
standard.
I have set the Form's Keypress property to True but want to capture the
keypress inside the UserControls themselves. I have Set the UserControl's
KeyPress Event as well as tried overriding the OnKeyDown, OnKeyPress, and
IsInputKey.
Still I am not triggering the KeyDown or KeyPress events.
Is there a trick to this???