>No if you set it to be Default. But you could set Default = .f. for that button and Set KeyPreview = .t. for form and in KeyPress Event of the form put:
It worked, yes and no. I am getting a 10 as key code, can't understand.
Regards Bhavbhuti ___________________________________________ Softwares for Indian Businesses at: http://venussoftop.tripod.com ___________________________________________ venussoftop@gmail.com ___________________________________________