I think OnKey is inactive whilst a form is active. But why would you want to disable tab on a form?