Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position off the screen.....
Message
From
26/08/1998 18:07:50
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00129832
Message ID:
00130337
Views:
39
My personal experience with Foxpro 2.x for Windows ( especiall the Windows 3.yy releases ) was that depending upon the user's screen resolution ( 640x480, 800x600, 1024x768 etc ), Windows CRT drivers would change the default font -- MS Sans Serif is not just a font, but a special creation with both large and small versions ( with same font size specification, but different resulting on screen real estate occupied ). As was mentioned earlier in this thread, I began avoiding MS Sans Serif ( despite M$'s preference for it ) since it was like trying to nail jello to the wall -- users could change their screen resolutions, and the same app which ran fine the day before would cease to run the next day. Arial is a good compromise, it is really True Type, is not reset by the CRT hardware manufacturer's software when screen resolutions change and FONT 'Arial',10 Style 'B' will occupy the same number of pixels at any resolution. If you continue to maintain this system, you can use Sysmetric(1) and Sysmetric(2) to obtain screen width and height respectively -- thus you can know when the problems occur -- in my experience the break usually came at 1024x768. You might want to test your APP at all the resolutions that your users will employ, but even then you may be at the whim of the hardware manufacturer's CRT drivers. BTW: Thirty two bit windows, with the variable size graphical task bar, can give values other than what you expect ( e.g. 640x480 ) when running Sysmetric(1) or Sysmetric(2), unless the user has set the system task bar to AUTO HIDE.
Previous
Reply
Map
View

Click here to load this message in the networking platform