This is not a known issue with ReportBuilder. Which version of ReportBuilder are you using? You might try to add a stop in your code somewhere and check the value of Report.ShowPrintDialog to be sure it is in fact set to False.
Another thought... are you by chance loading a template when you try to print your report? If so, this property could be getting erased by the template setting. You can fix this issue by either loading the template at runtime and re-saving it with this property changed or changing it using the OnLoadEnd event of the template.
Comments
Try setting the Report.ShowPrintDialog property to False. This is a
published property so it is available in the Delphi Object Inspector.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I still have printer dialog show, why?
thx.
This is not a known issue with ReportBuilder. Which version of
ReportBuilder are you using? You might try to add a stop in your code
somewhere and check the value of Report.ShowPrintDialog to be sure it is in
fact set to False.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Another thought... are you by chance loading a template when you try to
print your report? If so, this property could be getting erased by the
template setting. You can fix this issue by either loading the template at
runtime and re-saving it with this property changed or changing it using the
OnLoadEnd event of the template.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com