Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PNG transparency: The sequel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Application:
Desktop
Divers
Thread ID:
01476610
Message ID:
01476684
Vues:
41
Interestingly enough, it does work for me. However, the original issue of using the image control to get VFP to honor transparency for PNGs on command buttons is still a bit of a puzzle. There doesn't seem to be any rhyme or reason as to why the images show up transparent on some workstations and not transparent on others. The two operating systems in question are XP and Windows 7.

>Hi Jon,
>
>that doesn't work for me, with or without sys(2450).
>
>Hank
>
>>I'm thinking I could probably use ADIR on the original path and loop through the array.
>>
>>>>Hi Jon,
>>>>
>>>>let's say you have included d:\myApp\images\myPNG.png in your project. From within your running application:
>>>>
>>>>local lcImageStr
>>>>lcImageStr = filetostr("myPng.png")
>>>>
>>>>From there you have a variety of options.
>>>>
>>>>Hank
>>>>
>>>
>>>Hank,
>>>
>>>Do you know of a way to get all png files from the exe? In IDE it could be done using _VFP.ActiveProjects.Files loop
>>

Jon Rosenbaum
Devcon Drummer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform