Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position off Screen
Message
From
08/02/2000 15:17:55
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00329033
Message ID:
00329111
Views:
25
>Hi there!
>
>I need help. A multiuser Fox2.6 app setup on an NT Server. Several users run it from their win9x workstation.
>
>It's okay 95% of the time. It crashes with "object off screen" or "unable to position object" type error. I suspect it's something to do with font/s changing size so says and gets don't fix in their controls.
>
>All the relevant fonts have been installed. The confusing thing is it runs on it's not happening on a specific workstaion. It happens to any workstation on the network.
>
>If you have any ideas please let me know.
>
>Thank you

There are a few things that normally cause this, but the main culprits are:

- Font size (Large vs. small font)

- The main FoxPro window has a different font at design time than run time. THis can be changed with MODIFY WINDOW SCREEN FONT "MyFont", size. This should be run on the developer's PC prior to any work on the project, especially before working on screens and compiling. You should also issue the same command in the main.prg of the application so that it takes affect at runtime.

- Wrong font used. FPW defaults to the MS Sans Serif font, which turns out to be the worst font you can use. Make sure you are using a True Type font or the FoxFont for everything.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform