Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in the grid class with large fonts
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01199606
Message ID:
01199768
Vues:
18
>Thanks for the reply.
>
>I have to argue that it is a bug, since you can have a perfectly working application when the windows font size is 'normal', but then your app will blow up when the user changes to large or extra large.

BTW, you're right, the code to determine font size doesn't work on my Windows XP either.

The code from MS doesn't return correct result either (returns smaller than smaller, though I set Extra large), so now we just need to find what the constants really mean.

--------------------------------------------------UPDATE-----------------
Looks like in Windows XP different fonts settings are not detected by this function. Try http://www.news2news.com/vfp/?function=-1&example=188

It returns 96/96 on my PC regardless the font settings and all other settings are identical. I didn't restart my computer before each try, though.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform