Home End User

Show Print To File Setup

edited March 2011 in End User
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.

Comments

  • edited March 2011
    Hi Jason,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2011
    Thank you for the info Nico, I will give it a go.

    Jason.

This discussion has been closed.