Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Replacing ppExpDlg

edited March 2006 in End User
I want to replace the ppExpDlg, when i follow the steps for replacing built
in forms in report builder, i do not get my new form, still get the old one.
Is this because ppExp does not have the Initialization section ? Can i not
replace dialogs and forms which do not have the initialization and
finalization section ?

Comments

  • edited March 2006
    Hi Anji,

    You will need to add an Initialization and Finalization sections to your
    custom form and register the form yourself. For instance...

    initialization

    ppRegisterForm(TppCustomTemplateDialog, TMyOpenSaveDialog);

    finalization

    ppUnRegisterForm(TMyOpenSaveDialog);

    end.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Yes i have tried that,
    I have included the new dialog in my project and added the finalization and
    initialization section too.
    But i still get the older dialog box and not the new one i have created.
    All i want of this new dialog is to not allow users to create new folders to
    save reports.

  • edited March 2006
    Sorry, the explorer dialogs are registered on demand when the report
    explorer is used. Try registering your custom dialog in the
    ReportExplorer.OnCreate event.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.