how to use the page's visible property in scripts
i can't use the page's visible property.
i have a report,the report has two pages named (page1 and page2).
i want to hide page1.
i use page's visible property as follows.
procedure Page1OnBeforePrint(Sender: TfrxComponent);
begin
page1.visible:=false;
end;
but the page1 is show yet
i use web brower view the report result,so i can't use the dialog's event.
how to hide page1 use script?
i have a report,the report has two pages named (page1 and page2).
i want to hide page1.
i use page's visible property as follows.
procedure Page1OnBeforePrint(Sender: TfrxComponent);
begin
page1.visible:=false;
end;
but the page1 is show yet
i use web brower view the report result,so i can't use the dialog's event.
how to hide page1 use script?
Comments