Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Please help
rbuser
August 2004
edited August 2004
in
General
mARCELO" escreveu na mensagem
Comments
nicocizik
August 2004
edited August 2004
Hi Marcelo,
You may need to write another pass thru function to find this information...
------------------------------------------
Tech Tip: Detecting whether PrintDialog's
Cancel button was Selected
------------------------------------------
When the print dialog is displayed to the
user, you can determine whether the Cancel
button was selected by using the
Report.OnPrintDialogClose event.
Example:
procedure TForm1.ppReport1PrintDialogClose(Sender: TObject);
begin
if ppReport1.PrintDialog.ModalResult = mrCancel then
ShowMessage('Use chose to cancel the print request');
end;
--
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
rbuser
August 2004
edited August 2004
But i am loading templates, the event PrintDialogClose of the ppReport1
at the main form is not detected.
So, what report should i use on this new pass thru function?
nicocizik
August 2004
edited August 2004
Hi Marcelo,
From what I can tell, all of your templates will need to use this pass thru
function so you will need to write the pass thru function, register it with
ReportBuilder and then use it as you need in each one of your report
templates.
--
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This discussion has been closed.
Comments
You may need to write another pass thru function to find this information...
------------------------------------------
Tech Tip: Detecting whether PrintDialog's
Cancel button was Selected
------------------------------------------
When the print dialog is displayed to the
user, you can determine whether the Cancel
button was selected by using the
Report.OnPrintDialogClose event.
Example:
procedure TForm1.ppReport1PrintDialogClose(Sender: TObject);
begin
if ppReport1.PrintDialog.ModalResult = mrCancel then
ShowMessage('Use chose to cancel the print request');
end;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
at the main form is not detected.
So, what report should i use on this new pass thru function?
From what I can tell, all of your templates will need to use this pass thru
function so you will need to write the pass thru function, register it with
ReportBuilder and then use it as you need in each one of your report
templates.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com