>>>Actually, I missed the initial point. I will try a test using the Timer to perform the release. That should better relate to how the QuitApp functions.
>>
>>Yes, this would be helpful. Also please try without NOWAIT option and I'll try with it in the meanwhile.
>
>I just complete (for time been) a testy using the QuitApp demonstration. It appears that the RELEASE WINDOWS function as expected (closing the preview window) when performed in a simple PRG. But raises a "Cannot quit foxpro" error if in a APP or EXE. Are you seeing the same thing?
>
>I have tried the RELEASE WINDOWS method, and attempting to send a Escape (using both Fox and WScript. Neither one worked. If I had the Window handle to the Preview window, perhaps it could be killed directly.
>
>I will continue investigating this from time to time. Let me know if you come up anything close.
>
>Greg
Hi Greg,
I'm going to ask on a Russian VFP forum. I think this problem was discussed there. We also have an idea to write a Report Manager class, which would use Report Listener and presumably would not suffer from this problem.
If it's not broken, fix it until it is.
My Blog