Tom,
I had a similar problem. I have an app that starts with a login form and project selection form that are in the VFP _SCREEN. After this I would set _SCREEN.Visible=.F. and DO my Top-Level Form. My form would appear but would never be initially selected. So I changed the .WindowState property to 1-Minimized and in the forms .Activate Event I put This.WindowState=0 (Normal) and now it works great. HTH
>Hi Erik,
>
>The answer to your question is Yes and No...I have one program that is launched from another program (Canto Cumulus)as a script and actually I had always thought that was the reason for the anomaly. But, I have created another program that is a stand alone and I get the same result.
>
>I then experimented with some dummy exe's I created to try and duplicate the situation and, sure enough, it happens with all of them unless I set the ShowWindow prop as maximized.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.