Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to predict the size of a label.caption in pixel?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00302272
Message ID:
00302282
Views:
29
Eric,

It can be done, but it isn;t easy. You need to refer to Sysmetric() and FontMetric() functions to get the information required to calculate the approximate size. Approximate is the best you will ever get if you are using porportional fonts.
Previous
Reply
Map
View

Click here to load this message in the networking platform