|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 11 > 11 > Telegram_2023-11-11T23 |
2023-11-11T23:34:09
I believe I was able to recreate the issue that you are having, according to the code snippet that you shared.
I also created a new demo that works correctly with the latest IntraWeb version and also any version of ReportBuilder (at least 17+):
type: link https://github.com/Atozed/IntraWeb/tree/master/15/Delphi/ReportBuilder
2023-11-11T23:34:39
the key here is this:
rptBiolife.ShowPrintDialog := False;
rptBiolife.ShowCancelDialog := False;
2023-11-11T23:35:37
you need to set both ShowPrintDialog and ShowCancelDialog to False, before printing from ReportBuilder. Otherwise it will try to show a cancel dialog (or print dialog) while generating the report which shouldn't happen.