>I have started to work with VFP5.0 and found very strange behaviour. I issue RUN command to start another Win95 app from cmd.click located in Modal form.
>After another app opens I return to VFP systen using Taskbar and find that Modal form 'lost focus', i.e. app got frozen.
>I found way to workaround issuing command:
>ACTIVATE WINDOW MyModalForm
>immediately after RUN command, but anyway it looks strange.
>Did anybody else notice this problem? TIA.
Remember that when you issue a Modal form that FoxPro stops executing at the line that runs your modal form. The modal form will run, expire (when you close it) & then FoxPro continues at the line that ran the Modal form. So this may be a problem.
Also, make sure you are using the run with the N option:
run /n my.exe
HTH,
Tom