Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PNG pictures
Message
De
10/12/2004 06:28:53
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
10/12/2004 04:58:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
Divers
Thread ID:
00963725
Message ID:
00968244
Vues:
8
Hi

Doesn't work whatever I do, with 16x16, 24x24 or 32x32 PNGs

If I have an image created on form BEFORE the button, then the transparency is correct but the picture on both image and button is resized.
If the button is first created, then the size is correct but transparency is lost.

I think that is a bug. Pitty, using PNG one doesn't need bitmap masks and looks very nice on every background color.




>Hi Dorin,
>The only way to show .PNG's with transparency correctly on a button is to pre-load them in an image control. Keep that control alive somewhere (public variable/application object)
>
>We're using a lot of PNG's for enabled and disabled state of buttons, they all show up in the correct size.
>
>What size of button bitmaps do you use?
>It might be that the pre-loading does the resizing, what setting do you use in the image object?
>
>Greetings,
>Timo.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform