Michel i recommend to you copy all valuable code of that controls and start to design it in a new form, putting every control in their respective order, this only to test that vfp allways start to set "setfocus" (<-excuse me for that) in the same way programer say it to do it. After that, start to put the code copied to every control one at time as run form, and you must find what control is doing what.
I hope this help you.