Did you check this through Trace window? It seems like it didn't stop at
your SetFocus and continued through your DO CASE. I had that kind of problem with DO FORM from the method code where some code existed after that line where it was called.
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