How to open a png graphic file

How to open a png graphic file

Postby dixonchu » Tue Jan 30, 2007 3:54 am

Dear all

Did anyone can tell me , How to open a PNG graphic file.

I can't open with TBTNBMP class

Thanks !

Best Regards

Dixon Chu
dixonchu
 
Posts: 21
Joined: Mon Nov 14, 2005 2:20 am

Postby Antonio Linares » Tue Jan 30, 2007 8:15 am

Dixon,

You have to use FWH Class TImage, please review samples\TestImg.prg
regards, saludos

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

Postby dixonchu » Tue Jan 30, 2007 12:50 pm

Dear Antonio

I want to use this PNG on menu bar ,

But TImage can't put on it.

Can I loadbitmap first. then use button class .

OR. other ways ..
dixonchu
 
Posts: 21
Joined: Mon Nov 14, 2005 2:20 am

Postby Antonio Linares » Tue Jan 30, 2007 4:49 pm

Dixon,

You can not use PNGs in the menu bar
regards, saludos

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

Postby vailtom » Fri Feb 09, 2007 11:22 am

Hi Antonio!

I want to use a PNG image on toolbar... I can?

Best Regards,
Vailton Renato
User avatar
vailtom
 
Posts: 47
Joined: Thu Jan 05, 2006 6:56 pm

Postby Enrico Maria Giordano » Fri Feb 09, 2007 11:41 am

Why can't you just convert them to BMP?

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

Postby vailtom » Fri Feb 09, 2007 1:06 pm

Hi EMG!

Because these images have shadow effects.
Vailton Renato
User avatar
vailtom
 
Posts: 47
Joined: Thu Jan 05, 2006 6:56 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 70 guests