Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How VFP choose icon format for button image?
Message
De
25/04/2009 03:31:46
 
 
À
23/04/2009 05:02:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01395862
Message ID:
01396362
Vues:
49
>Howdy.
>
>I don't know how it does it, other than I've noticed the preference for th best 32 by 32 icon before. Do you know what the order of the icon formats was in your icon file? That might also effect which one VFP chooses.
>
>Ian Simcock.
>
>>Hi,
>>
>>I run some test to see what happen when a command button's picture property is assigned an ico file.
>>
>>Initially, the icon file has 128x128, 96x96, 80x80, 72x72, 64x64,48x48, 32x32, 24x24 and 16x16 format and each size has 4 different color depth 4bits, 8bits, 24bits and 32 bits. (a total of 36 formats in the ico)
>>Under WinXp, VFP choose 32x32 RGB/A (32bits) format as the image for the button.

Sorry for the late reply...

Yap I know the order, I am the one who creates it :)
It starts with largest color depth then largest size, that is 128x128 32bits, 96x96 32 bits, ..., 16x16 32bits, 128x128 24bits, 96x96 24 bits, ..., 128x128 8bits, 96x96 8 bits, ..., 128x128 4bits, 96x96 4 bits, ... 16x16 4 bits.

I really doubt the order is a factor because for one thing I am quite sure, under WinXP, 32x32 format is always VFP's first choice.
Anyway, as you have suggested, I will give it a try to see whether the order actually matters.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform