Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
True type fonts for get fields
Message
De
16/05/1996 21:34:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00001371
Message ID:
00001401
Vues:
48
>I am using foxpro 2.6 for windows. Is it true that
>is wrong to use true type fonts for (get) validate
>fields ?
>Is there any other solution except to use fixed
>fonts for this job?
> Friendly
> Nikos Kiriakoulakos

You can certainly use true type fonts (which includes fixed fonts like Courier New). The problem that can arise is that in certain circumstances Foxpro will pad out or reduce the size of the variable being "got" depending on how big you draw the text box. To overcome this and to make it clear to the user when space runs out I use Courier New (9 point) for fixed length text input (while using MS San Serif or Arial for memo type boxes). I always use a proportional font for "Say" objects.

I also set the default font of the screen to match the input font (Courier New 9) and set the Ruler to Characters. That way you can size the box by dragging it up to the ruler and making it about half a character wider than its actual width.

If you really want to use proportional fonts for your "get" boxes make sure that you enter a matching format code like "XXXXXXXXXX" in the format option of the objects properties screen. Then everything should be OK.

David
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform