Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine a wrapped word label's height?
Message
De
26/09/2006 08:51:14
 
 
À
25/09/2006 10:17:37
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01155729
Message ID:
01157210
Vues:
29
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform