Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with BackStyle transparent
Message
De
15/04/1999 22:21:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00208431
Message ID:
00208843
Vues:
25
>>I'm using the image control(in VFP 6.0 SP2) to display transparent GIF images. Although I'm setting the BackStyle to trasparent, the background of the object remain grey(as a command button). I have tried to set it both at design time and run time. The BackStyle property works properly with labels, edit boxes, shapes etc, but not with the image control (which works as designed in VB 6.0).
>
>Hi Yossi.
>
>What I do instead of displaying an empty control is to display a blank white image or an image with "no photo" written on it. This prevents the display of the "X" on the control.
>
>P.S.I had problems with the quality of my jpgs and bmps when using a transparent background. I set the background to opaque and used the above technique to make things display better.

Hi Evan,

Thank you for the tips. I already have a non-blank image as a background for the entire form. By placing other objects with a background set to opaque, on top of the form background, portions of the image will be erased. I downloaed the Animation GIF Control ver 2.25 from WWW.JCOMSOFT.COM as it is capable of playing animated transparent GIFs. So far, it appears to be very good in displaying the images in transparent mode.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform