Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AutoSize in run-time
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00564476
Message ID:
00564485
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>Hi everyone,
>
>It seems to me, that AutoSize works only in design-time and not in run-time, when I change Label's caption. How can I make it work in run-time? How can I change width of label to be exact?
>
>Thanks a lot in advance.

When you are changing the width of a label either by autosizing it or changing the actual caption then setting the width property, you will not get the NEW width value until you set the Visible property of the label to true. I have had to incorporate this workaround in the Load of my form for setting multi-language values of captions. However, since this is in the Load, the form is not yet visible so I do not have ugly label flashing on the screen.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform