Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Background color of GIF always white
Message
De
28/07/2004 18:10:04
 
 
À
28/07/2004 17:54:33
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00928894
Message ID:
00928973
Vues:
23
>I just found this on Google:
>
>http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=%23uDT4xcMDHA.2432%40TK2MSFTNGP10.phx.gbl&rnum=4&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26q%3Dvfp%2B8%2Bgif%2Btransparent
>
>Dan Freeman says:
>
>"If memory serves, transparency will be respected if the GIF is loaded in an
>image control before being used on a button. If the button is used first,
>transparency is out the window for the image control as well because the
>image is cached for the duration of the application.
>
>The obvious workaround is to createobject("image") and load the transparent
>gif in the startup of your app, so that the transparency is respected and
>cached. Then it should work fine in buttons later on."

Now, this is amazing. Not only does it fixes the image but it also allows me to fix another problem which is the fact that the images were having a full plain blackground when disabled. Now, I can see them ok.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform