Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position off the screen.....
Message
From
25/08/1998 17:37:24
 
 
To
25/08/1998 15:18:40
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00129832
Message ID:
00129881
Views:
27
>Hello All,
> I inherited responibility for a commercially distributed application written in FPW 2.6. I made a significant amount of changes to both screens and programs and sent out the new release last week.
> Two customers have complained that they are receiving a "Position off the screen" error message on two of the screens on which I had made changes. I sucessfully recreated their error by changing the Windows default font from Small to Large. Changing them back again from Large to small correctly displays the screen. Unfortunately, this was done through the control panel.
> How can I change the Windows defaults programatically at the initiation of the application, and then change them back again at the conclusion of processing - within FPW 2.6
>
> Any help would be greatly appreciated.
>
>
>TIA
>
>Barry


Large vs small fonts is only one of the problems. Make sure that you aren't using the MS Sans Serif font *ANYWHERE* in the application. Unfortunately, this is the default font...and as it turns out, the worst font you can use. The best choice is probably Arial because it looks alot like MS Sans Serif and ships with Windows, so users should have it installed. You also need to make sure the default screen font is set the same in both development and runtime. Put MODIFSY WINOW SCREEN FONT "font", size early in your program. Make sure it matches what you have set in development.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform