There was a thread about this back in Feb 2012 - I think it was Mike Copeland 
who started it.  Well I came across this problem - running a long report in VFP 
and clicking on another application then back to VFP.  The VFP screen goes 
"milky" and the form caption includes the text Not Responding.

Well, I believe I have a solution. Classes fxTherm and UpdateListener (in 
_ReportListener.VCX) both have a DoStatus() method.  Towards the end of this 
method I added the following code

If Mod(THIS.PercentDone, 5) = 0
        Doevents Force
 EndIf

Without the MOD condition the report generation slowed to a crawl, but with the 
MOD condition I found that the report  generation time increased by about 8% 
which in my case is quite acceptable.

I hope this might help others

Paul Newton

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to