Page 1 of 1

JPG Question

Posted: Wed Dec 19, 2007 10:08 am
by PeterHarmes
Hi,

I have a database that stores the path & filename of an image file and would like to display that file on a dialog box.

This works ok if the image file is a bmp. What do i need to do if the image file is a jpg?

Thanks in advance

Pete

Re: JPG Question

Posted: Wed Dec 19, 2007 10:28 am
by Enrico Maria Giordano
Use TImage instead of TBitmap.

EMG

Posted: Wed Dec 19, 2007 10:32 am
by PeterHarmes
Thanks Enrico - Just found that!! :oops:

Posted: Wed Dec 19, 2007 11:39 am
by Antonio Linares
Pete,

Please review fwh\samples\TestImg.prg