Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $95

How to align text within the txt label to bottom?

Discussion in 'Information Technology' started by Adnan, Jul 28, 2006.

  1. Adnan

    Adnan
    Expand Collapse
    Guest

    Hi everyone :)
    I have txt labels that are by default aligned to the top (right-top) of the
    label on a report, I was wondering if someone could show me how to align this
    text to bottom (right-bottom).
    Labels I’ve created are large and text is small, therefore I need text to be
    displayed on bottom of the label instead of top.


    Do not want this:
    _____________
    | Label |
    |____________|

    …and looking for this:
    _____________
    | |
    | Label |
    '''''''''''''''''''''''''''''''

    --
    Please post all your inquiries on this community so we can all benefit -
    Thank you!
     
  2. Loading...


  3. Allen Browne

    Allen Browne
    Expand Collapse
    Guest

    In Access 2000 and later, you can set the internal margins (e.g. TopMargin
    and LeftMargin properties) of the label, to make the text sit where you want
    within the control.

    You can also left, right, or center align the text, but AFAIK there is no
    vertical alignment, so just set the TopMargin property.

    If you set the internal margins in a text box that has scrollbars, the
    scrollbars don't work properly.

    If you ask Access to size-to-fit when you have internal margins set, it
    won't get it right either.

    --
    Allen Browne - Microsoft MVP. Perth, Western Australia.
    Tips for Access users - http://allenbrowne.com/tips.html
    Reply to group, rather than allenbrowne at mvps dot org.

    "Adnan" <Adnan@discussions.microsoft.com> wrote in message
    news:367573EC-8776-4D41-96B7-76BAF419229D@microsoft.com...
    > Hi everyone :)
    > I have txt labels that are by default aligned to the top (right-top) of
    > the
    > label on a report, I was wondering if someone could show me how to align
    > this
    > text to bottom (right-bottom).
    > Labels I've created are large and text is small, therefore I need text to
    > be
    > displayed on bottom of the label instead of top.
    >
    >
    > Do not want this:
    > _____________
    > | Label |
    > |____________|
    >
    > .and looking for this:
    > _____________
    > | |
    > | Label |
    > '''''''''''''''''''''''''''''''
    >
    > --
    > Please post all your inquiries on this community so we can all benefit -
    > Thank you!
     
  4. Adnan

    Adnan
    Expand Collapse
    Guest

    Allen,
    Your quick/nice and awesome response took care of my issue – Thank youuuuu
    much!

    (Right-click on the label>set “TopMargin†to whatever number you need to set
    text as needed)

    --
    Please post all your inquiries on this community so we can all benefit -
    Thank you!


    "Allen Browne" wrote:

    > In Access 2000 and later, you can set the internal margins (e.g. TopMargin
    > and LeftMargin properties) of the label, to make the text sit where you want
    > within the control.
    >
    > You can also left, right, or center align the text, but AFAIK there is no
    > vertical alignment, so just set the TopMargin property.
    >
    > If you set the internal margins in a text box that has scrollbars, the
    > scrollbars don't work properly.
    >
    > If you ask Access to size-to-fit when you have internal margins set, it
    > won't get it right either.
    >
    > --
    > Allen Browne - Microsoft MVP. Perth, Western Australia.
    > Tips for Access users - http://allenbrowne.com/tips.html
    > Reply to group, rather than allenbrowne at mvps dot org.
    >
    > "Adnan" <Adnan@discussions.microsoft.com> wrote in message
    > news:367573EC-8776-4D41-96B7-76BAF419229D@microsoft.com...
    > > Hi everyone :)
    > > I have txt labels that are by default aligned to the top (right-top) of
    > > the
    > > label on a report, I was wondering if someone could show me how to align
    > > this
    > > text to bottom (right-bottom).
    > > Labels I've created are large and text is small, therefore I need text to
    > > be
    > > displayed on bottom of the label instead of top.
    > >
    > >
    > > Do not want this:
    > > _____________
    > > | Label |
    > > |____________|
    > >
    > > .and looking for this:
    > > _____________
    > > | |
    > > | Label |
    > > '''''''''''''''''''''''''''''''
    > >
    > > --
    > > Please post all your inquiries on this community so we can all benefit -
    > > Thank you!

    >
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page