Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I make this work?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00529408
Message ID:
00529419
Vues:
14
>Mark,
>The problem is that VFP doesn't do anything with respect to AutoSize until the form is shown. You can do your own calculations using a combination of FontMetric() and TxtWidth(). See Thread #455959 Message #455966 for a formula for this.

Figured it out. I have to set the Visible property of the label to true first. Then the new width is correct.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform