Change property Start New Page

Hi
I want change propery start in new page with writing in scrip.How can I do? Thanks.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:43AM
    typical example would be groupheader2.startnewpage:=true:
    where you do it (in which event) depends upon what you are trying to acheive.
    in some case you may be checking the recordcount of a dataset and if greater than a certain value
    you would just call engine.newpage.
  • edited 5:43AM
    Tanks
    I want do like this:

    procedure GroupHeader1OnBeforePrint(Sender: TfrxComponent);
    begin
    if form1.chbox1.Checked =True then engine.NewPage;
    end;


    but this is wrong.Why?
  • edited 5:43AM
    set states before preparing or showing the report.

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.