dear all,
I manage to handle some code in any form controls keypress or down events
place.
In an other hand, the form_keypress event is not fired ?
Any reason why I cannot get this event fire when a ley_press handler routine
is define, is desable by default ?
regards
Serge
Morten Wennevik - 11 Jan 2005 13:20 GMT
Hi Serge,
Another control may be trapping the keypress events (typically a textbox
or even a button). Set your form's KeyPreview property to true to
overcome this.

Signature
Happy Coding!
Morten Wennevik [C# MVP]