FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour JPG Question
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
JPG Question
Posted: Wed Dec 19, 2007 10:08 AM

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

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: JPG Question
Posted: Wed Dec 19, 2007 10:28 AM

Use TImage instead of TBitmap.

EMG

Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
JPG Question
Posted: Wed Dec 19, 2007 10:32 AM

Thanks Enrico - Just found that!! :oops:

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
JPG Question
Posted: Wed Dec 19, 2007 11:39 AM

Pete,

Please review fwh\samples\TestImg.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion