Hi Maria,
Be sure to put NODEFAULT after the SetFocus() call in the LostFocus() method. Missing that has caused me the most grief.
BTW, I have trouble getting VFP to set focus properly in a grid. Specifically, I cannot always get it to change rows.
>If I specifically code the LostFocus event to Thisform.nextcontrol.SETFOCUS, at times (it appears random?) the new control appears to have focus (the cursor is in the control), but if you attempt to type into this control, nothing happens. If you hit tab once, the control then completely gains control, and you may type information into it.
HTH,
Bill Armbrecht
VFP MCP