Report.Print, disable event handling
Hello,
I found that during a report.Print, my application is responding to windows events. e.g. the user is able to click on a db grid to change row, or worse, the new record event from database comes and the application is calling report.print again, before the previous one is finished.
seems report.Print is calling Application.ProcessMessages somewhere. how can I stop it?
I found that during a report.Print, my application is responding to windows events. e.g. the user is able to click on a db grid to change row, or worse, the new record event from database comes and the application is calling report.print again, before the previous one is finished.
seems report.Print is calling Application.ProcessMessages somewhere. how can I stop it?
Comments
looks like it is it. I will again with EnableThreadSafe enabled.
if not Report.EngineOptions.EnableThreadSafe then
Application.ProcessMessages;