add, change or remove the background picture
I have Fast Report 3.03 and I tested blow instruction and Delphi show flowing error massage.
Please help me I change from code, programmatically add, change or remove the background picture of my report.
Instruction:
TfrxReportPage(frxReport1.Pages[1]).BackPicture.Assign('D:\Scard\Pictures\abbasi.jpg');
Error message:
[Error] Unit1.pas(394): Incompatible types: 'TPersistent' and 'String'
[Fatal Error] pdbAppl.dpr(12): Could not compile used unit 'Unit1.pas'
Please help me I change from code, programmatically add, change or remove the background picture of my report.
Instruction:
TfrxReportPage(frxReport1.Pages[1]).BackPicture.Assign('D:\Scard\Pictures\abbasi.jpg');
Error message:
[Error] Unit1.pas(394): Incompatible types: 'TPersistent' and 'String'
[Fatal Error] pdbAppl.dpr(12): Could not compile used unit 'Unit1.pas'
Comments
regards.