load picture at BeforePrint

mierlpmierlp Netherlands
edited 3:52PM in FastReport 3.0
hi,

i've created a report and it contains an picture object.
Which syntax do i need to load a picture before the
report is printed.

i can't figure it out...is it something like

frxReport_contract.pages[1] .....

greetz Peter

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 3:52PM
    use the report components on before print event at delphi level.
    it returns the sender for every object in the report.
    begin
    if sender.name := 'Picture1' then
    tfrxpictureview(sender).picture.loadfromfile('path&filename');
    end;

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.