Hi Robert,
Where is your READEVENTS? If it's in the Init of the form, perhaps that's it.
>Compiled .exe file that goes opens a form when the .exe file is doubled clicked.
>The application come to the front of all windows, the form displays and the cursor is blinking in the form on the correct textbox.
>
>But... you have to click the screen or the form before you type. No matter what I seem to try, the app does not have focus until I click it.
>_screen.activate, _screen.windowstate, keyboard '{ENTER}' ... NOTHING WORKS till I click the screen to give it focus.
>
>Can anyone give me any ideas to try?
>
>Robert
Charlie