Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for colorful icons
Message
De
10/02/2005 08:57:54
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
10/02/2005 01:12:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00984216
Message ID:
00985529
Vues:
39
Hi
Is simple

If you add this code in Load event, pointing to each picture used in buttons, transparency is showed correctly because caching I suppose.
Sample
_screen.AddObject('image','image')
_screen.image.picture = "1downarrow.png"
You can do even better, by adding a property to your form base class, consisting in a comma delimited list of PNGs (without paths), parse and assign each picture to an image control in Load event.
You will need many image controls, one for each picture used on buttons

Is complicated, but true color PNGs with transparency looks very nice compared with BMP/MSK pictures.


>>You can find PNGs used in Linux themes, most of them free.
>>Search for slick,nuvola themes, are cool.
>>
>>But you need to trick VFP to show transparency when used on buttons by loading them in some image control first.
>
>Can you explain a little more how to fool VFP with by loading in an image control?
>
>Thank you.
>
>Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform