G
Gerhard Kiessling
Hello,
I'd like to use the RETURN key in my Access form to produce a certain
behaviour inside an OCX control when RETURN is pressed.
For this I'm using the KeyPress/KeyDown events for the Control.
All keys are processed to the events correctly except the RETURN key. When
pressing RETURN it does not enter the KeyPress/KeyDown sub but it's setting
the focus to the next control on the form (like the TAB key does)
Does anyone know how I can prevent this and get an event ON THE CONTROL when
I press RETURN ?
Thanks for any help !
Gerhard
I'd like to use the RETURN key in my Access form to produce a certain
behaviour inside an OCX control when RETURN is pressed.
For this I'm using the KeyPress/KeyDown events for the Control.
All keys are processed to the events correctly except the RETURN key. When
pressing RETURN it does not enter the KeyPress/KeyDown sub but it's setting
the focus to the next control on the form (like the TAB key does)
Does anyone know how I can prevent this and get an event ON THE CONTROL when
I press RETURN ?
Thanks for any help !
Gerhard