P
Pinkesh Jain
Hi,
I wanted to know whether there is any equivalent for the
KeyPreview property (present in normal Windows Forms),
in .NET Compact Framework (on WinCe).
Basically I want to trap the TAB key. I'm able to do this
when the focus is on the Form (using the KeyPress event).
But when the focus is on a TextBox, then I'm not able to
capture the TAB event. As a result I wanted to implement
something equivalent to what "KeyPreview" property does.
(I mean making all the Keyboard events go to the Form
first, and then the Controls)
How can this be achieved?
Any pointers to the same?
Thanks.
I wanted to know whether there is any equivalent for the
KeyPreview property (present in normal Windows Forms),
in .NET Compact Framework (on WinCe).
Basically I want to trap the TAB key. I'm able to do this
when the focus is on the Form (using the KeyPress event).
But when the focus is on a TextBox, then I'm not able to
capture the TAB event. As a result I wanted to implement
something equivalent to what "KeyPreview" property does.
(I mean making all the Keyboard events go to the Form
first, and then the Controls)
How can this be achieved?
Any pointers to the same?
Thanks.