Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to predict the size of a label.caption in pixel?
Message
De
13/12/1999 16:35:18
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00302272
Message ID:
00302980
Vues:
34
>Hi Ed,
>
>>You may better set Label.AutoSize=.T. and check Label.Width property after each changing of its caption.
>
>This won't always work, because VFP recalculates the width of a label when it displays it, not when you change the caption.
>
>Christof

It works in my experience. VFP apparently is smart enough to re-evaluate when you change the caption.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform