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

Click here to load this message in the networking platform