Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox that will wrap text
Message
De
06/07/1999 09:45:42
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00237675
Message ID:
00237712
Vues:
18
Becky,

Is there any objection to using Courier New as the font? VFP 6 (and I think 5) will size controls when you drop them on the form, but you can size them as well in INIT or with a builder using this code (which again works best if using courier new because it is a mono-spaced font)
This.Width = LEN( EVAL(this.controlsource)) *;
             FONTMETRIC(6, this.fontname,this.fontsize ) + <i>x</i>
Where x is a spacer, say 4 or 5 pixels extra. Also note that the above code assumes a character field, it is intended just to get the idea across.

>vfp 3.0
>
>Hello All,
>
>I have a form with textboxes for input and the textboxes always
>lose a few characters at the end of the box before jumping to the
>next one, any thoughts on how to correct this so no input is lost?
>
>Thanks
>
>Becky
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform