Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine a wrapped word label's height?
Message
From
26/09/2006 08:51:14
 
 
To
25/09/2006 10:17:37
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01155729
Message ID:
01157210
Views:
28
Hi Mike.

>Ok, I tried assigning the caption in a custom method of the form. By that time, the containers' Inits are complete correct? Still a no go :(

It seems that, as Barbara suggested, VFP doesn't calculate the final height or position of objects until the form is activated. This is also true with anchoring and resizing: it doesn't work well if you do things in Init.

This is why I implemented that GDI+ measurement class; you can call it from anywhere.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform