How to open a png graphic file

Post Reply
dixonchu
Posts: 21
Joined: Mon Nov 14, 2005 2:20 am

How to open a png graphic file

Post by dixonchu »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Dixon,

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

Antonio Linares
www.fivetechsoft.com
dixonchu
Posts: 21
Joined: Mon Nov 14, 2005 2:20 am

Post by dixonchu »

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 ..
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Dixon,

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

Antonio Linares
www.fivetechsoft.com
User avatar
vailtom
Posts: 47
Joined: Thu Jan 05, 2006 6:56 pm
Contact:

Post by vailtom »

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
Contact:

Post by vailtom »

Hi EMG!

Because these images have shadow effects.
Vailton Renato
Post Reply