show label1 caption in frxReport my memo box

edited 10:28PM in FastReport 4.0
hello

when i click on my button in project with this code:
frxReport1.ShowReport;

i can see my form print with my filter.

i insert an memo in frxReport1.DesignReport;

now i want if i use frxReport1.ShowReport; , my memo string in design form for print in fast report print form designer, show label1. caption in my project.

of course i connected my frxReport1 to my adotable database and i can when click print button all data in report form with fast report. but i want filter count in project also show in my memo in print form.

thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:28PM
    you can either pass the value in through a variable, or the ogv event, or the obp event.
    you can also add a delphi form to the code page and you can access the properties of that forms objects but not variables.
  • edited 10:28PM
    hello

    for me please tell me more about

    i'm await...

    thanks
  • gordkgordk St.Catherines On. Canada.
    edited 10:28PM
    read the programmer's manual for how to work from delphi.
  • edited 10:28PM
    please write me sample code or learn me step by step for this subject.

    thanks
  • edited 10:28PM
    hi .. here is a sample:

    procedure TForm1.PrintReport1Click(Sender: TObject);
    var
    Memo1: TfrxMemoView;
    begin
    frxReport1.LoadFromFile('test.fr3');
    Memo1 := frxReport1.FindObject('Memo1') as TfrxMemoView;
    Memo1.Text := Edit1.Text;
    frxReport1.ShowReport;
    end;

    Enjoy it!

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.