Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transparent GIF images on buttons
Message
De
19/01/2012 18:33:40
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
À
18/01/2012 10:06:11
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01533051
Message ID:
01533392
Vues:
228
This message has been marked as the solution to the initial question of the thread.
>Hi Rick,
>
>There is something wrong in VFP caching the pictures.
>
>the trick is to load the image first in a picture object (e.g. on _Screen) without necessarily display them. This way the pictures transparancy information is cached correctly so that when the same picture is used for a command/option button etc, it is respecting its transparancy.
>
>I'd consider this am internal bug with PNG and GIF pictures.
>
>Walter,
>

We load all of our transparent PNGs into a collection of image objects at application startup before any UI or menus are displayed. We keep the collection alive for the duration of the app. We don't have any problems, but you have to load the images early. If VFP gets to them first on a button or menu, loading them into an image may not help.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform