Disabling Print button in Preview Dialog
I have searched the newsgroup and find constant reference to a Tech Tips
note on this and also reference to the Developer's Guide. I am not a
proficient programmer.
When I open ppDrvDlg I have some code and an empty form. The Developer's
Manual tells me how to colour of the pnlPreviewBar. I don't have a
pnlPreviewBar!
The Tech Tips says:
2. Make desired changes.
You will notice that the preview dialog inherits from an ancestor
TppCustomPreviewDialog - this ancestor resides in ppForms.pas (where all
the abstract ancestor forms for ReportBuilder are defined).
Can someone please give me a clue as to what I remove or add in ppForms.pas
to enable/disable ths darned button?
Thank you.
Rob.
note on this and also reference to the Developer's Guide. I am not a
proficient programmer.
When I open ppDrvDlg I have some code and an empty form. The Developer's
Manual tells me how to colour of the pnlPreviewBar. I don't have a
pnlPreviewBar!
The Tech Tips says:
2. Make desired changes.
You will notice that the preview dialog inherits from an ancestor
TppCustomPreviewDialog - this ancestor resides in ppForms.pas (where all
the abstract ancestor forms for ReportBuilder are defined).
Can someone please give me a clue as to what I remove or add in ppForms.pas
to enable/disable ths darned button?
Thank you.
Rob.
This discussion has been closed.
Comments
RBuilder\Tutorials\Complete\Applications\. There is a TrbPrintPreview class
in rbPrvDlg.pas which descends from TppCustomPreview and is registered with
RB to replace the print preview form.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I'll tackle this.
Rob.