Forms keypress event not fired ???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
Back
Top