How do you disable a Page from printing?
How do you disable a Page from printing from script?
I tried this code and the page still prints:
Page is called CustomData and the Event is the OnBeforePrint event of the CustomData page.
I tried this code and the page still prints:
Page is called CustomData and the Event is the OnBeforePrint event of the CustomData page.
procedure CustomDataOnBeforePrint(Sender: TfrxComponent);
begin
  CustomData.Visible:= False;
end;
Comments
do it in the
empty begin end block at the bottom of the page it's procesased first