Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text box according to text width
Message
From
22/09/2014 18:07:57
 
 
To
22/09/2014 16:43:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01607999
Message ID:
01608017
Views:
66
That's REALLY hard to do as you have to take into account font point size, screen resolution, etc. If it has to support non-English, it adds more complexity.


>Hi All:
>
>I have a class to which I pass a string to be a value for a text box in the class. I then want to adjust the width of the text box so that it is the width of the text string. How do I convert text string width to form control width?
>
>Thanks,
>
>Yossi
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform