create a report with DataMirrorSection (like in RAVE)

Thomas PFisterThomas PFister Bavaria, Germany
edited 6:04PM in FastReport VCL 5
Hi,

how can I create a report with an option like the following:

Section1 with "Text and data text"
Section2 with "Text only and / or Memo (with expanding)"

Activate Section1 or Section2 from a RadioGroup inside the Delphi-App.

In Rave I used DataMirrorSection but in FR I haven't find a similar solution.


thanks for any tips & hints!

:-) thomas

Comments

  • edited 6:04PM
    In FR there are not sections and regions like in Rave.
    But you can do many things from script. You can transfer information setting parameters from code and use it in script.
    From my experience script is working very well in FR. In Rave 5 script was a pain.

    Or you can do some changes from code before generating the report. For example using:
    var
      pw: TfrxComponent;
    begin
      pw := frxReport1.FindObject('Memo1');
      if (pw is TfrxPictureView) then
        pw.Width := 100;
    

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.