Microsoft KB Archive/208247

= ACC2000: KeyDown Event Doesn't Fire for Custom ActiveX Controls =

Article ID: 208247

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q208247



Advanced: Requires expert coding, interoperability, and multiuser skills.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).



SYMPTOMS
When you use Microsoft Visual C++ to create a custom ActiveX control that uses the KeyDown event as part of its functionality, you may notice that not all keys start the event.



CAUSE
Microsoft Access does not forward all keys to the ActiveX control.



MORE INFORMATION
When you work with the KeyDown event of custom ActiveX controls, the following keys are not forwarded by Microsoft Access:

DELETE

HOME

END

PAGEUP

PAGEDOWN

ARROW

All other keys work as expected.

