Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox that will wrap text
Message
From
06/07/1999 09:45:42
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00237675
Message ID:
00237712
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform