Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Base vfp fonts on win 10
Message
De
15/07/2021 05:00:20
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
15/07/2021 04:45:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01681806
Message ID:
01681807
Vues:
81
>Hi
>I installed VFP (VFP9, SP2, HOTFIX3) on a new computer.
>
>Unfortunately, in most places, the font was unrecognized.
>I fixed big part of the cases, on Tools>Options>IDE , but there are still places that Vfp use with unfamiliar fonts, and I have not found a way to fix it.
>
>Attached is an example (places with unknown fonts, marked in yellow).
>
>Some cases I have the problem also in runtime (such as Inputbox typing), and some cases only on design mode (such as Message Box content).
>
>Thanks in advance

Tools>Options>IDE is, as the name says, is only about the IDE. It does nothing to VFP objects, forms etc

I guess you need to set the fontname you like to use in your base classes. And then check all forms if they fit. Or you have something that can do that on the fly on forms init. Something that runs through all containers and set FONT for all objects of the baseclasses with fontname property.
Possibly you can gather the sysfontname via some SYSMETRIC or API call, but that's above me. You know, M$ might change with next update w/o notice.
Or just create a setting and let the user choose the font. (Mine stuck to Arial. They have no time for fancy UI changes)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform