Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining width of last line in an editbox
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01447267
Message ID:
01447581
Views:
51
Bo, that's unbelievable!!! I really thought it might not be possible, but this works beautifully.

Thank you!!

Nothing to do with the code that you provided, but I have noticed that GDI's MeasureString() isn't always 100% accurate when I use it to redraw the editbox based on the text value. It's WAY better than using the fontmetric, but are you aware of any tricks to making it closer to perfect?

-m@
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform