Print Dialog problem
Hi,
I have this code in Delphi:
frxReport1.PrintOptions.ShowDialog := false;
This is what is global for my software, but some of my clients demand to have the Print Dialog and to see it. That's why I put this code on the report:
procedure frxRepOnStartReport(Sender: TfrxComponent);
begin
Report.PrintOptions.ShowDialog := True;
end;
The funny thing is that the Print Dialog will show when I am in design mode, but after I start the program and press the print button in preview mode there is no Print Dialog.
Please post your opinion or any solution that you might think of.
Thanks!!
I have this code in Delphi:
frxReport1.PrintOptions.ShowDialog := false;
This is what is global for my software, but some of my clients demand to have the Print Dialog and to see it. That's why I put this code on the report:
procedure frxRepOnStartReport(Sender: TfrxComponent);
begin
Report.PrintOptions.ShowDialog := True;
end;
The funny thing is that the Print Dialog will show when I am in design mode, but after I start the program and press the print button in preview mode there is no Print Dialog.
Please post your opinion or any solution that you might think of.
Thanks!!
Comments
i would make your choice of setting a condition of your delphi code and set it just before loading report.