hi,

i want to do some code when the user press on one of the numbers keys in the keyboard.

i added the code in the event keypress of the form.
problem is that it doesnt work when one of the controls is in focus.

do i really need to add the same code for the event keypress for all the control in my form?
isn't there an easier way?

thanks,
ohad.