Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position off the screen.....
Message
 
 
To
25/08/1998 15:18:40
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00129832
Message ID:
00129898
Views:
24
>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

Jims explanation is great. If you use GENSCRNX you could write a driver that would look for screens that have objects that have certain fonts (the ones Jim referred to) and either update it during the build, or create a log file of what screens need their items fixed.

You could also just open the SCX files as tables and look in the font memo field, to find the items that need to be fixed.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform