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
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.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com