Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center Text Horizontally
Message
 
 
To
02/04/2002 19:36:54
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00640166
Message ID:
00640211
Views:
13
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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform