Welcome to SPN

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

Sign Up Now!

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!

    >
    >
    >
     

Share This Page