i can't use the page's visible property.

edited 3:46PM in FastReport 3.0

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?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.