Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Background color of GIF always white
Message
From
28/07/2004 18:10:04
 
 
To
28/07/2004 17:54:33
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00928894
Message ID:
00928973
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform