>I tried the new call and the form is still not active until clicked.
Try adding this code. It assumes VFP 7.0 or later.
DECLARE INTEGER SetForegroundWindow IN Win32API;
INTEGER hwnd
= SetForegroundWindow(oForm.hWnd)
George
Ubi caritas et amor, deus ibi est