How can I make the Print button in the preview form invisible?
I thought I could make the Print button in the preview form invisible using
TppPrintPreview(rbLandscapeGrid.PreviewForm).spbPreviewPrint.Visible :=
False;
but it does not work, apparently because I do not have the right name for
the button. I cannot find the form with the button in the source to get the
name. Can someone point me in the right direction?
Thanks,
--
Bill
TppPrintPreview(rbLandscapeGrid.PreviewForm).spbPreviewPrint.Visible :=
False;
but it does not work, apparently because I do not have the right name for
the button. I cannot find the form with the button in the source to get the
name. Can someone point me in the right direction?
Thanks,
--
Bill
This discussion has been closed.
Comments
is FBtnPrint in the ppPreview unit. Unfortunately it is a private member so
I still cannot see a way to make the print button in the preview form
invisible.
Thanks again,
--
Bill
There is an example which makes the print button invisible on the preview
form.
http://www.digital-metaphors.com/tips/PreviewPlugin.zip