Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PNG transparency: The sequel
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Application:
Desktop
Miscellaneous
Thread ID:
01476610
Message ID:
01476684
Views:
40
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform