Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a BUG in vfp8?
Message
De
15/07/2003 05:50:48
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
15/07/2003 04:14:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00809698
Message ID:
00810119
Vues:
22
I had the same issue.
The only way was to refill the white again in a picture editor. Something about pixel attributes in true color color bitmaps, I think. After that, the image white area was transparent.

Dorin

>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. How come?
>
>
>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform