Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
White background GIF files
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00832092
Message ID:
00832374
Views:
18
>Hi,
>
>I am upgrading our application to VFP 8 and I have come across a strange thing with the images on buttons, it happens on all images in the system. Here goes:
>
>1. Our toolbar has a few buttons with .GIF files for the images, in VFP 7 the white backgrounds or these buttons appears transparent.
>
>2. On a completely blank Windows XP system when we install our application compiled in VFP 8 the .GIF files also appear with a transparent background.
>
>3. BUT on our DEV machines and the sales dept. machines (that have Office XP and Act! etc. on them) the buttons all appear with a solid white background event though they were fine in VFP7. This solid white background makes them look particularly ugly while disabled.
>
>Now it doesn't take much to swithc all the pics to use .BMP (which transparent work fine on and I am almost finished doing anyway) but I was wondering if anybody else has had this behaviour happen to them aswell? (Namely that the transparency works fine on some machines and not others)

What you should do here is change the GIFs so that white is set to be the Transparent color. 7 handled the drawing itself: 8 is handing it off to GDI+. GDI+ doesn't consider White to be transparent, which is where the problem comes in.

I don't know why different 8 boxes are handling this differently, though. Might be another problem I'm missing.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform