control the text baseline

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

Is there a way to control the text baseline in a
label control? I'd like to place the text centered
vertically within a label control. As it is, the text
is placed slightly off the bottom of the label
boarder.
Thanks,
Bill
 
Is there a way to control the text baseline in a
label control? I'd like to place the text centered
vertically within a label control. As it is, the text
is placed slightly off the bottom of the label
boarder.
Thanks,
Bill

Access does not have an auto vertical centering capability.
What you can do is set the label control's top and/or bottom margin
property to adjust where the text will appear in the label. But it's a
hit or miss manual operation.
The properties are on the control's format tab.
 
Stephen,
Are you working to make "VerticalJustification" A2003 compliant?
Bill Stanton



Stephen Lebans said:
Hi Fred,
the OP can look here:
http://www.lebans.com/verticaljustification.htm
VerticalJustificationA2K.zip is a database containing a function to allow
for vertical centering of the contents of a Label or TextBox control.
Works with both Forms and Reports.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
What do you mean? It works here in A2003.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Bill said:
Stephen,
Are you working to make "VerticalJustification" A2003 compliant?
Bill Stanton
 
Stephen,
Your website says "Access 2000 only". I took that to
mean that 2003 isn't supported.
Bill
 
It should say A2000 or higher. I'll try to change it shortly.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top