Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

printing GIF images

edited August 2008 in General
Greetings,

Is there a way to do this? I've downloaded/installed the TGIFImage
component and RB appears support it at design time (I can browser to and
load a .gif image) but I can't seem to change the gif at runtime.

The error I get: "Unknown picture file extension"

Here is the code:
if FileExists(DirToUse + FieldByName('Image').AsString) then
ppImage1.Picture.LoadFromFile(DirToUse +
FieldByName('Image').AsString)

Any clues will be greatly appreciated.

Thanks,
Kevin

Comments

This discussion has been closed.