FastReport中,如何在程序中指定报表中要打印的某张图片(不用数据库的方式)!**********************

解决方案 »

  1.   

    procedure TForm1.frReport5BeforePrint(Memo: TStringList; View: TfrView);
    begin
     frReport1.Pages[0].FindObject('picture1') as TfrPictureView).Picture:=
       mainform.DBImage1.Picture;end;
      

  2.   

    procedure TForm1.frReport5BeforePrint(Memo: TStringList; View: TfrView);
    begin
      TfrPictureView(View).Picture.Assign(Form1.Image1.Picture);    
    end;
      

  3.   

    FastReport我只有中文手册,却没空都钻研它,要的话给你吧!