I have a pictuer box on top of a form, is there a way to tell the picture box to intercept keystrokes? sort of like a keypress event?
Printable View
I have a pictuer box on top of a form, is there a way to tell the picture box to intercept keystrokes? sort of like a keypress event?
In short, No.
I'm not quite sure what you're after here. You can't give the picturebox focus so it doesn't really make sense to me to have it intercept key presses.
The form that the picture box is on has a KeyPreview property that you can set to True. You should use the form's KeyPress and/or KeyDown events to trap keyboard input.