control the text baseline

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
 
F

fredg

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.
 
B

Bill

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.
 
S

Stephen Lebans

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
 
B

Bill

Stephen,
Your website says "Access 2000 only". I took that to
mean that 2003 isn't supported.
Bill
 
S

Stephen Lebans

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.
 
Top