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?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 9:31AM
    Please post fr3 questions in the fr3 forum.
    ;)

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.