Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transparent Image
Message
 
À
11/07/2009 14:34:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01406278
Message ID:
01411708
Vues:
50
Hi Jos,

> I want parts of the image (the white part for example) to allow the desktop colour to show through.

When you say desktop you mean the _SCREEN window and desktop colour is _Screen.BackColor?

> I can use any image format, bmp, png, etc. I am using _screen.addobject() to add the image to the desktop.

Did you change the Backstyle and Visible properties of the image control? Have you been using a BMP file (VFP requires a BMP file for that kind of transparency). Are you really using RGB(255,255,255)? RGB(254,255,255) looks virtually the same, but won't be transparent. You're not using _Screen.Picture, aren't you?
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform