There is currently no way to automatically hide the print dialog when printing. I will add this to our list of possible enhancements for a future release.
Currently you can access the OutputDialog property from the Report.BeforePrint event to hide the navigation buttons and resize the control. Below is the code I used which seemed to give a suitable result.
uses ppOutputDlg;
procedure TForm1.ppReport1PrintDialogCreate(Sender: TObject); begin TppOutputDialog(ppReport1.OutputDialog).pnlBackground.Visible := False; TppOutputDialog(ppReport1.OutputDialog).pnlBackground.Width := 0;
Comments
There is currently no way to automatically hide the print dialog when printing. I will add this to our list of possible enhancements for a future release.
Currently you can access the OutputDialog property from the Report.BeforePrint event to hide the navigation buttons and resize the control. Below is the code I used which seemed to give a suitable result.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thank you.
I just add
TppOutputDialog(ppReport1.OutputDialog).OutputType := rotExport;
to be sure to select the Export dialog.