Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Label centering
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00429026
Message ID:
00429090
Vues:
15
Thanks, but the whole reason I wanted to be able to center the label is to avoid having to add an extra control. :)

I don't need it in a grid, so I guess I'll go back to my original idea of putting the shading behind it in a shape.

Thanks,

Michelle


>Hi!
>
>Vertical centering by 'easy way' is available in grid column only.
>
>In your case you may make special container control with label inside and calculate TOP property of label to center label control inside of grid. Than make label auto-size with word wrap and reposition label each time caption changed or form refreshed. Caption_Assign method of label might be useful here when you need to make such conrol as class.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform