Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement