I haven't been able to get that to work in any way shape or form...
What are you doing exactly to load up the Image controls? Just set the Picture property?
For me this doesn't work I always see the non-clear background. This even happens if I stick the image control on the same page and make sure it renders before the button with the Picture. Even then I see the button show with background while the image control does not...
Like Cesar I've resigned myself to converting images to BMP and filling in white space with an an off white color. It's more work but at least it works reliably.
+++ Rick ---
>>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.