Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I center a label on the form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00062470
Message ID:
00062627
Vues:
47
>>I've always had labels behave strangely when Autosize was set to .T.. Can you humour me and try you old method with Autosize set to .F.?
>
>I can't, because the caption of the label is passed by parameter to the form.
>So I can't know the length of the caption until run time.

Sylvain, as another workaround, you could make the label width the width of the page (or centered on the page and wider than your widest label) and set the text alignment to Center. When you change the caption it would automatically be centered on the form.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform