Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bitmaps and Icons on buttons problem in VFP?
Message
De
10/02/1997 20:38:15
 
 
À
10/02/1997 14:12:38
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00019921
Message ID:
00019970
Vues:
41
>Hello All...I have done some experimentation using icons and bitmaps on command buttons, and have come to the following conclusions:
>
> * 16x16 .ICO's are forcibly scaled to 32x32
>
> * 'Screen color' in ICO files is ignored and white (RGB(255,255,255)) is the only transparent color allowed.
>
> * Likewise, the only way to make a part of a BMP transparent is the paint it white.
>
>Hopefully, someone will be able to correct any or all of these assumptions. If this is true, how does use white on an icon?

For each filename.bmp make a filename.msk (mask) and put black in the corresponding pixel for each pixel you want to be white and opaque in filename.bmp. FoxPro automatically looks for a mask file.

If you still have problems with it, tell me and I'll look for a sample to send to you by email.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform