Keydown hierarchy

M

Marcus

Hello everyone,
I'm trying to understand how the keydown hierarchy works.

I have some forms with the key preview=on and some default actions on form
keydown (for example key arrow-> form navigation)

In some case I would like the control on a form to have a higher priority
over the form's keydown. Is it possible to do so?

Thanks
 
J

Jeanette Cunningham

Hi Marcus,
have you thought of setting the Key Preview on or off using code.
When you want key preview on, your code can turn it on and vice versa.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 
M

Marcus

Good idea, thanks!!!




Jeanette Cunningham said:
Hi Marcus,
have you thought of setting the Key Preview on or off using code.
When you want key preview on, your code can turn it on and vice versa.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
 
Top