>No I don't have ON KEY afer this code. I don't understand why it would work for you and not me.
>
>Tyler
Are you using any framework? It may issue ON KEY somewhere in base classes.
Try to put the code in Form.Init() and see if it works.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison