>*Code form INIT in login form
>thisform.passcount = 0
>thisform.cm_cbo1.setfocus() && set focus to first object in login form
>_screen.windowstate=1 && this is the trick
>* && Login form has the focus prior to minimizing the desktop
This will only work when _screen.Visible=.T. when the form is call. In my case, the CONFIG.FPW is putting _screen.Visible=.F., so the SetFocus() does not set the focus to the control nor the form.