For the most part, this is working for all of my command buttons. However, there are a couple here and there where a white background is still visible and those buttons inherit from the same base class that goes through the same behavior as described in the message below.
I even stepped through that alpha transparency code for the button in question and it executes without issue. Any ideas as to why it might not be behaving like the others?
>See <B>Re: PNG alpha transparency in command button ?</B> Message #
1126979>
>>
>>Can you explain what you mean my preloading into an image control? I guess I'm also at a loss as to why before this morning, all the transparencies were displaying just fine on every single control.
>>
>>Jon
>>
>>
>>I have a bunch of PNG images that I've attached to command buttons and forms over the last couple of weeks and they all looked fine. Now, for no apparent reason that I can see, the transparent areas of the PNG images are no longer transparent - they show white instead. Could someone please tell me what could possibly change within VFP to cause this arbitrary change?
>>>
>>>IIRC, you have to preload transparent images into Image control in order to prove transparency for command buttons.
>>
Jon Rosenbaum
Devcon Drummer