Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PNG pictures
Message
From
10/12/2004 06:28:53
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
10/12/2004 04:58:16
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Miscellaneous
Thread ID:
00963725
Message ID:
00968244
Views:
9
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform