Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine a wrapped word label's height?
Message
From
21/09/2006 13:51:15
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
21/09/2006 08:50:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155729
Message ID:
01156123
Views:
36
>Hi Mike.
>
>>Does anyone know if it is possible to determine the correct height of a label such that all wrapped text (ie all lines) are visible?
>
>Check out my blog article http://doughennig.blogspot.com/2006/04/forget-txtwidth-use-gdipmeasurestring.html. It presents a class using GDI+ to accurately calculate the width and height of strings.
>
>Doug

Thanks Doug. I'll give it a try.
Previous
Reply
Map
View

Click here to load this message in the networking platform