Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center Text Horizontally
Message
De
03/04/2002 10:50:57
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00640166
Message ID:
00640377
Vues:
14
Thanks everyone for your comments. I was thinking about using a shape to make the white space smaller. I was hoping there was a better way but that will work since the user will not be editing the textbox.

>James,
>
>I don't think there is anything you can do about the top whitespace obove the letters and the top of the textbox. I set .FontSize=72 and .Height to 110 to get vertical centering of the text within the textbox.
>
>You might want to BackStyle = 0 transparent, BorderStyle = 0 none and put the textbox over a shape to make it look like there is less whitespace. But if the user can edit the content the textbox will appear it's full size while it has focus.
>
>>I have a form that needs to have the letter one inch high. What I do this it seems that the white space on the top is too large. Is there a way to center the text horizontally so I can make the height less?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform