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

GetPicture

edited April 2004 in General
Sorry if dumb q, but how do I load a picture into a ppDBImage from a table?

procedure TfrmMBases.ppDBImage1GetPicture(Sender: TObject;
aPicture: TPicture);
begin
aPicture := SomeHowGetItFrom(Table1.fieldbyname('logo'));
end;

TIA,
--
Kumar Manuel

Comments

  • edited April 2004
    Maybe I'm wrong. When I just set the pipeline and datafield, I just get a
    black image, i've tried changing the contents of the field, same black image
    still appears.

    TIA,
    -k-

  • edited April 2004
    Kumar,

    There is a patch available that my fix this problem. If you have RB 7.03,
    please send an e-mail to support@digital-metaphors.com and we'll send the
    patch right out to you.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.