TfrxPictureView.FileLink

GreatDayDanGreatDayDan Keller, Texas
edited 5:46PM in FastReport 4.0
Good Morning!

I was wondering how to load a picture into the TfrxPictureView component, given the filename of the image.

I found the FileLink method, but I am not sure how to use it.

Can you provie a short code sample on how to do this?

Thaks...Dan'l ;)

Comments

  • edited 5:46PM
    Just put the file name in this property. You can also put a variable with filename:
    [myvar]
  • GreatDayDanGreatDayDan Keller, Texas
    edited 5:46PM
    Good Morning!

    Coolness!

    What report event should I use?

    What if there is not image for this record? Use an if fileexists...?

    Thanks...Dan'l
  • edited 5:46PM
    You can use OnBeforePrint event for picture and check if file exists.
  • edited 5:46PM
    Good Morning!

    Coolness!

    What report event should I use?

    What if there is not image for this record? Use an if fileexists...?

    Thanks...Dan'l

    Hi guys, soory to be a pain. I'm trying to do similar and can;t get either FileLink or File Exists to work. Would you be so kind as to give an example of their usage?

    I'm using C+= script.

    Many thanks.

Leave a Comment