Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a BUG in vfp8?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809698
Message ID:
00810324
Views:
14
>>>I have a button class created by using an image and label in a container. The image is a .GIF file
>>>which is rectangularish in shape and has WHITE around it as well as in the middle of it. I made the
>>>image.BackStyle = Transparent and placed the label behind the white area in the middle of the button
>>>and the label shows through. This is in VFP 7.
>>>When I upgraded to VFP 8, the same class, same button now shows transparent on the background of the
>>>button but the middle part which was transparent in VFP7 is now opaque white in VFP8, and the label
>>>is hidden.
>>Actually, the VFP7 behavior may have been the bug. Is white marked as the transparent color in the GIF? If not,
>>try setting white to be transparent, and see if VFP8/GDI+ respects that.
>Well white is the colour around the main button and GDI+ and VFP8 respects THAT! So why not other parts
>of the same GIF. Changing it to a BMP and JPG did not change this strange behaviour. The central part
>of the button still showed up as opaque white, while the surrounding part of the button was made transparent.

But did you try setting the transparent color, as I suggested above?
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform