Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transparent GIF images on buttons
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01533051
Message ID:
01533064
Vues:
89
>>>>Is it possible to get transparent images onto buttons other than using BMP and Image Mask icons? Most of my icons are GIF files and while they show up fine on buttons they don't respect their transparency.
>>>
>>>Is PNG supported in the latest version of VFP? This is something I didn't check on. But, for all transparency now that I need for the Web, I am using PNG. GIF offers a transparency but it is not smooth. PNG will fit perfectly on everything. I use Photoshop to build them.
>>
>>
>>PNG is supported in VFP9. But it is recommended that you have SP2 installed, to avoid some bugs.
>>
>>But there is another known remaning issue, that is some flickering in the PNG images, when you pass the mouse cursor over these images. This unwanted effect is more visible if you put other obejcts over the image objects that use PNGs
>
>Cesar are you saying with PNG transparency works for non-image control items (like buttons and toolbar buttons)? Or just in an image control, because that always worked with any format that supports transparency (like GIF).
>
>After some more experimenting I see mixed results. Mikes answer from the thread I mentioned works sometimes, but randomly fails to show the transparency which likely is some sort of timing issue in which order the objects get displayed possibly.
>
>Man would I love to solve that problem - it's one thing that makes VFP look funky and I'd rather not switch to some other button control.
>
>Working on sprucing up Help Builder a bit over the last week and I'm down to some small UI tweaks :-)

In VFP you can use BMPs with white background RGB(255,255,255). VFP will make them transparent.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform