Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically center a label control
Message
De
13/01/2007 23:59:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Programmatically center a label control
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01185419
Message ID:
01185419
Vues:
69
If I want to center my label programmatically, how can I do that. I set the value of caption at run-time.

So I do something like thisform.label1.left=(thisform.width-thisform.label1.width)/2

But this won't center the label. Any help?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform