Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine a wrapped word label's height?
Message
From
20/09/2006 16:04:31
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to determine a wrapped word label's height?
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155729
Message ID:
01155729
Views:
91
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?

For example, if my label's caption is, "This is a very long caption which has word wrap set on..." and I set word wrap to .T. and anchor it such that it stretches horizontally, how can I programatically determine the label's height in order to show the full caption (when it wraps).

TIA
Mike
Next
Reply
Map
View

Click here to load this message in the networking platform