P
philosaur
Access 2003 allows you to set the default formatting of controls, such as the
height, width, background color, etc. When setting the default height of a
label, however, a problem arises. If the text entered into a label is longer
than the default width, then the width extends accordingly to accomodate the
text, as one would expect. However, the default height also changes for some
reason.
For instance, I set the default height and width for a label to be 0.2" and
0.5", respectively. I also set the default font to be Lucida Sans at 9pt,
and default margins to be 0.0097" all around. When I add a new label to a
form and set its text to something relatively short, like "Test", the height
stays 0.2". If I set its text to be something longer, like "This is a test",
the label height changes to 0.1771".
Any ideas why?
This is an issue for me because I want to draw borders around my labels by
default, and having the label height change unexpectedly (and inconsistently)
makes my forms look sloppy.
height, width, background color, etc. When setting the default height of a
label, however, a problem arises. If the text entered into a label is longer
than the default width, then the width extends accordingly to accomodate the
text, as one would expect. However, the default height also changes for some
reason.
For instance, I set the default height and width for a label to be 0.2" and
0.5", respectively. I also set the default font to be Lucida Sans at 9pt,
and default margins to be 0.0097" all around. When I add a new label to a
form and set its text to something relatively short, like "Test", the height
stays 0.2". If I set its text to be something longer, like "This is a test",
the label height changes to 0.1771".
Any ideas why?
This is an issue for me because I want to draw borders around my labels by
default, and having the label height change unexpectedly (and inconsistently)
makes my forms look sloppy.