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

Custom View Screen

edited September 2002 in End User
Hello,

i design a custom view screen with ppViewer component. i want to show this
custom screen every time in my program. for example, any form when i write
this code

ppReport1.Print;

my custom screen will show. how can i do this?

Sorry my english.

Comments

  • edited September 2002
    You can register a new preview form just as the TppPrintPreview class in
    ppPrvDlg.pas does. At the bottom of ppPrvDlg.pas there is a registration
    call you can make with your form class to replace the preview form. For an
    example, see the main reports demo project (..\RBuilder\Demos\1.Reports) as
    it replaces the preview form with a custom viewer.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.