IF VarType(Thisform.ActiveControl) = "O" AND PEMSTATUS(Thisform.ActiveControl,"SetFocus",5) Thisform.ActiveControl.SetFocus() ENDIFThis forces VFP to put focus on the control that currently has focus, but it also forces that control to do its updating of stuff.