Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transparent Buttons
Message
De
14/02/2006 22:31:03
 
 
À
14/02/2006 21:58:08
Randy Wessels
Screentek Business Solutions, Llc.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01096388
Message ID:
01096395
Vues:
10
>I have some .ico images on buttons on a toolbar. I was hoping that the part of the image that is the background would take on the color of the button. Instead it takes on the color of the screen background. I can't figure out if it is my .ico file or if it is a setting in VFP. I have tried other images as well - .png, .bmp, .jpg, .gif. It seems that SOME images will work correctly, but most don't.
>
>Does anyone know exactly what controls this?
>
>-Randy

In previous versions of FoxPro, I have used .bmp files and matching .msk files. The .msk file uses the same root name as the .bmp file. The easiest way I've found is to open the .bmp file in MS Paint, mask out in black what you want to show and leave white the part you don't want to show (invisible). Save the file as a monochrome bitmap with .msk as the extension. In Win XP it will actually save it as picfile.msk.bmp. Rename it to picfile.msk. So now you should have 2 files in the same folder: picfile.bmp and picfile.msk where "picfile" is the name of your bitmap.

Ed
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform