How do you disable a Page from printing?

edited January 2015 in FastReport VCL 5
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.
procedure CustomDataOnBeforePrint(Sender: TfrxComponent);
begin
  CustomData.Visible:= False;
end;

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:08AM
    To late the page has already started to process
    do it in the
    empty begin end block at the bottom of the page it's procesased first

Leave a Comment