Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 23.0 now available!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Trigger an event when Print button is clicked
rbuser
August 2008
edited August 2008
in
General
Hi,
Is there anyway that I can trigger an event when the Print Button is
clicked?
Thanks
Patrick
Comments
nicocizik
August 2008
edited August 2008
Hi Patrick,
Yes, there are passthru properties available on the preview form that give
you access to each button in the main toolbar of the preview window.
uses
ppPrvDlg;
TppPrintPreview(ppReport1.PreviewForm).PrintButton.OnClick :=
PrintButtonClickEvent;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This discussion has been closed.
Comments
Yes, there are passthru properties available on the preview form that give
you access to each button in the main toolbar of the preview window.
uses
ppPrvDlg;
TppPrintPreview(ppReport1.PreviewForm).PrintButton.OnClick :=
PrintButtonClickEvent;
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com