Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
General
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
preview print button
rbuser
June 2001
edited June 2001
in
General
I'd like to disable the print button on the preview form based on a
boolean field. How do I disable the button at run time?
Thanks,
Craig
--
email address is for spammers. Please reply here.
craig at pbyc dot com
Comments
rbuser
June 2001
edited June 2001
The simplest method would probably be to create your own custom preview form
and enable the behavior you need. See the Developer's Guide for a tutorial
on replacing RB forms.
--
Robert Leahey
TRX Technology Services
rbuser
June 2001
edited June 2001
Robert:
I've done that and now I get an AV when I reach this line. I've added
this to the previewOnCreate and tried it in the BeforePrint as well.
rbPrintPreview.spbPreviewPrint.Visible := not
dmPO.tblPO_POPRINTED.AsBoolean;
any ideas?
Craig
--
email address is for spammers. Please reply here.
craig at pbyc dot com
rbuser
June 2001
edited June 2001
This sounds like something you'll just have to debug for yourself. I don't
have enough information to figure out why you're getting an AV, sorry.
--
Robert Leahey
TRX Technology Services
This discussion has been closed.
Comments
and enable the behavior you need. See the Developer's Guide for a tutorial
on replacing RB forms.
--
Robert Leahey
TRX Technology Services
I've done that and now I get an AV when I reach this line. I've added
this to the previewOnCreate and tried it in the BeforePrint as well.
rbPrintPreview.spbPreviewPrint.Visible := not
dmPO.tblPO_POPRINTED.AsBoolean;
any ideas?
Craig
--
email address is for spammers. Please reply here.
craig at pbyc dot com
have enough information to figure out why you're getting an AV, sorry.
--
Robert Leahey
TRX Technology Services