Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating width for non-proportional font editbox?
Message
From
23/11/2001 16:19:14
 
 
To
23/11/2001 15:49:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00585221
Message ID:
00585232
Views:
24
Pascal,
Check out TextWidth()

HTH
>I have an editbox object that I need to resize programmatically to make
>sure that it is wide enough to accomodate the longest line of text.
>
>Anybody has a suggestion on calculating the width in pixels for a known number of characters for non-proportional fonts? (maybe some approximation is needed)
>
>Thanks in advance
>
>Pascal
Daniel
Previous
Reply
Map
View

Click here to load this message in the networking platform