>>I have tried _SCREEN.VISIBLE=.f. and SCREEN=OFF in config file, they work except when my form comes up it is not the currently selected application, you have to click on it to get it live.
>>
>>What am I missing ??
>>
>>Dennis
>>
>>>In config file have _SCREEN.VISIBLE=.f.
>>>
>>>HTH
>>>Jeff
>
>I'm not sure how you bring up the app but I had a problem that drove me crazy for awhile. I had a wait window in the INIT of the form. Once I got rid of that my form had focus.
>
>
>HTH
>Jeff
just to add here. To make sure that app gets focus you can issue something like form.show() or (as the last straw) you can even go to Win32Api and use ShowWindow function.
Edward Pikman
Independent Consultant