Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center Text Horizontally
Message
From
03/04/2002 10:50:57
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00640166
Message ID:
00640377
Views:
13
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform