While I'm sure John's idea will work, Just one quick question? Do you per chance hav a wait window come up in the load or init of the form? If you do that wait window gets the focus and not then main window. Just an idea...
HTH
Jeff
>Hi,
> I have written an application in VFP 5.0 - the problem I'm encountering is when starting the program. Most (all) windows programs start up with focus. My application, however, starts up but does not have focus - you need to click the mouse in the window. How do I fix this?
>
>Thanks!
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com