Versions des environnements
>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
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