>>For example, when i run the following program
>>
>>set reso off
>>modi repo R1 nowa
>>keyb '{ctrl+f10}{esc}'
>>modi repo r2 nowa
>>
>>the report R1 gets auto-maximized. How to avoid window R1 auto-maximizing?
>>I'm wondering why foxpro has this ill behaviour.
>
>The ctrl+F10 is sent to the active window; in your case it's r1.frx
>(notice the nowait clause), therefore it gets
>maximized.
If i remove keyb command at all:
set reso off
modi repo R1 nowa
modi repo r2 nowa
and issue it manually after running this program, R2 gets
maximized. After closing R2, R1 gets auto-maximized. How to avoid
auto-maximizing on R1 ?
This happens to all windows (forms, modi file etc) in vfp and fpw.
Andrus