Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in the grid class with large fonts
Message
 
 
To
28/02/2007 12:09:22
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01199606
Message ID:
01199768
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform