Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating width for non-proportional font editbox?
Message
 
 
To
23/11/2001 15:49:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00585221
Message ID:
00585280
Views:
17
>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)
>

Check out TXTWIDTH() function and form's TextWidth() Method.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform