(re-post) How to catch the [OK] click in the print dialog event
Hi all,
I am using Delphi 7 and RB 7.03
How can I catch the event for the [OK] click on print dialog?
What I would like to do is this:
* The user click Print in my app.
* The report is set to DeviceType := dtScreen, so the report shows up on the
screen.
* The user looks at the report and chooses to print the report. He clicks
the printer icon
* The PrintDialog shows up
*** Now I would like to catch the click on the [OK] button
The reason for this is that everytime the user prints a report, I need to
store a copy of that exact report in the DB (InterBase using IBObjects) as a
PDF file.
If the user clicks the [Cancel] button in the print dialog, the report
should not be stored in the DB.
I hope you can help me, thank you in advance
/Claus
I am using Delphi 7 and RB 7.03
How can I catch the event for the [OK] click on print dialog?
What I would like to do is this:
* The user click Print in my app.
* The report is set to DeviceType := dtScreen, so the report shows up on the
screen.
* The user looks at the report and chooses to print the report. He clicks
the printer icon
* The PrintDialog shows up
*** Now I would like to catch the click on the [OK] button
The reason for this is that everytime the user prints a report, I need to
store a copy of that exact report in the DB (InterBase using IBObjects) as a
PDF file.
If the user clicks the [Cancel] button in the print dialog, the report
should not be stored in the DB.
I hope you can help me, thank you in advance
/Claus
This discussion has been closed.
Comments
This question has been answered in your previous post. Please allow 24
hours for our support staff to answer your questions before re-posting.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I am sorry for the "re-post", the was that I corrected some information I
found in my first post.
So it was an "update-post" :-)
/Claus