How to display designer from code

Andrew BondAndrew Bond Banstead, UK
edited 4:47AM in FastReport 4.0
I am new to FastReport and wondered if anyone can help me please? I am using the Standard Edition.

1) How do I get the Report Designer to appear from code? Currently I can only get the designer to appear from the FR Demo program.

2) And what is the name of the executable associated with it that I need to ship with my program?

Thanks in anticipation.

Andrew

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 4:47AM
    andrew after installing the fr components you will find them on your delphi component pallet
    to your delphi form add a report component and a designer component.
    typically code would look like this
    from a button click event.
    frxreport1.designreport;
    you do not have to add any exes as the frx componentsused are compiled into your application .exe
  • Andrew BondAndrew Bond Banstead, UK
    edited 4:47AM
    Thanks for the response. Somehow I expected the designer to be a separate app!

    >> to your delphi form add a report component and a designer component.

    I'm using C++Builder 2007.

    I added a TfrxDesigner component to my form, named it 'Designer', and without doing anything else, ran my app and got a run-time error:

    'Error reading Designer->MemoParentFont: Property MemoParentFont does not exist'

    Should this happen?

    Note that I have TfrxReport and two TfrxUserDataSet components on my form - that's all (from FR). I am loading my report from harddisk.

    Any help would be much appreciated.

    Andrew

    PS Despite these teething problems, I am very impressed by FR - should do exactly what I want once I have mastered it features. Much better than Rave Reports (from which I've switched) - and the technical support is most helpful









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.