Show Print To File Setup
Hi guys
RB Enterprise 11.08, Delphi 6.
Is there a way to show the user the "Print To File Setup" dialog at run
time, that we can access at design time from the File menu? I'd like to
allow the users to choose which fields they want to export to a text file at
run time.
Thanks,
Jason.
RB Enterprise 11.08, Delphi 6.
Is there a way to show the user the "Print To File Setup" dialog at run
time, that we can access at design time from the File menu? I'd like to
allow the users to choose which fields they want to export to a text file at
run time.
Thanks,
Jason.
This discussion has been closed.
Comments
This should be possible. Take a look at the
TppDesignDialogController.ShowPrintToFileSetupDialog routine inside the
ppDesignDialogController.pas file for how the dialog is shown in
ReportBuilder.
You would need to manually create the form (TppPrintToFileSetupDialog
located in the ppTxDlg.pas file) and then assign its Report and
CurrentReport properties (CurrentReport represents the current report or
subreport being viewed). Then when you show the dialog, the available
text components should be listed.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Jason.