Just an outside chance here. Do you have a wait window on the one that won't receive focus. I've run into this before the wait window get the focus and won't let the window have it back.
Jeff
>In 2 differtent exe's i use the same form.
>
>If i minimize the form and take it off screen, and later restore it,
>(winodwstatus=0)one exe returns the form on screen properly with
>the focus on the form the other one refuses to receive the focus and i have to click the form to receive the focus.
>Both forms have same properties (toplevel and _screen=off)
>
>What is wrong??
>
>Albert
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