JPG Question

JPG Question

Postby PeterHarmes » 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
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: JPG Question

Postby Enrico Maria Giordano » Wed Dec 19, 2007 10:28 am

Use TImage instead of TBitmap.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby PeterHarmes » Wed Dec 19, 2007 10:32 am

Thanks Enrico - Just found that!! :oops:
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Postby Antonio Linares » Wed Dec 19, 2007 11:39 am

Pete,

Please review fwh\samples\TestImg.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], nageswaragunupudi and 71 guests