Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field display problems.
Message
De
26/10/1999 19:41:21
 
 
À
26/10/1999 19:39:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00281888
Message ID:
00281948
Vues:
12
>>>I have a form which I developed in vfp6.0, I compiled it to a
>>>Win 32 exe and run it on my machine and everything is just fine.
>>>Problems arise when I run the program on other machines in the
>>>office. Problems like fields cutting off, labels cutting off and
>>>displaying incorrectly on the form. I used the vfp setup wizard
>>>and have all the other machines run through the setup program.
>>>I can not really tell what is going on. I developed the form in
>>>Century Schoolbook Font. Any ideas would be appreciated. Eric
>>
>>The first thing I'd check is whether all stations have the required font installed. if not, it's likely that Windows is substituting another font that it does have installed, and the font proportions are wrong for your selected font. Go to one of the stations that has the display problem and install the font - if the problem goes away, you've found the cause.
>>
>>Now for the bad news - the font is not a base part of Windows. You need to obtain the necesary licenses to legally distribute the font - if its one that came with something like MS Word, then you need to purchase the font for redistribution with your application, or install the package that included the font on each target system to use it legally. Purchasing the font is probably less expensive than something like Word, and the font vendor probably will provide a means of instlaling the font when you purchase it.
>>
>>An alternative is to use a font that is a base part of Windows like COurier, System, Terminal or Arial.
>>
>>If you use a font that isn't installed on a target system, Windows makes a guess as to what it should use via its font substitution tables in the registry. that's probably what's making life difficult for you now.
>>
>>Another possibility is difference in Windows screen resolution - I've seen differences between 800x600 and 1024x768 resolutions that have been displeasing at best, anbd unusable at worst. In many cases, I've had to redesign a form for two different resolutions, and select which form variant to use at runtime by examining the SYSMETRIC() values.
>All great points, Ed. The other thing I would look at, even for identical screen resolutions is if the system is set up for large or small fonts. I have several apps that hit me with that gotcha.

As I recall, that was what lay behind the 800x600 and 1024x768 mode problem - one defaulted to large and the oher to Small fonts...
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform