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:
00062607
Vues:
41
>>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.

Your setting where you want the label to be at run time so why not set the size also.
find the length of the sting and change label size just before postion.

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform