Information générale
Catégorie:
Visual FoxPro Beta
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement