none
Label Caption Alignment RRS feed

  • Question

  • The label's text needs to be anchored to the bottom of the label box. The box is larger than needs to be because the data could change to grow up. Any idea how to do this?


    Mediocre Access 2016 | (Baby) Beginner C Sharp | OK at Active Directory (2012 R2) | Fragmented understanding of DNS/DHCP | Laughable experience with Group Policy | Expert question asker on MSDN Forums





    • Edited by UpTide Wednesday, October 26, 2016 1:20 PM ok, now the title is fixed.
    Wednesday, October 26, 2016 1:17 PM

All replies

  • Access doesn't support changing the vertical alignment of the caption of a label. You'll have to insert line feeds in the caption to get the effect that you want. Press Ctrl+Enter while editing the caption to insert a line feed.

    Regards, Hans Vogelaar (http://www.eileenslounge.com)

    Wednesday, October 26, 2016 2:55 PM
  • Are you using the label to view data?

    Or, if you are using textbox, you can link label with it selecting both controls and, on the suspended menu, selecting "link" command.

    You can use the Anchor property to solve this problem too. 

    Wednesday, October 26, 2016 3:20 PM
  • Hi UpTide,

    As other community member had already suggested you that the requirement asked by you can't be achieved.

    Access don't have any feature that can give output like that.

    The Text of the Label will be display from the Left Top Corner of the Label. There is no option for displaying the Text from Top or Bottom.

    if we talk about the Label caption Alignment then it's called "Text Align".

    It has 5 options.

    (1) General (2) Left (3) Right (4) Center (5) Distribute.

    All will set alignment according to their name from the Top of the Label.

    if you think that this feature should be added to the Access then you can give your feedback to User Voice.

    Access User Voice

    Regards

    Deepak


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, October 27, 2016 5:22 AM
    Moderator
  • The label's text needs to be anchored to the bottom of the label box. The box is larger than needs to be because the data could change to grow up. Any idea how to do this?

    Hi UpTide,

    As a poor man's solution you you could guess the number of lines (from the number of characters) you need in the control, and modify the Height and Top properties of the control accordingly.

    Imb.

    Thursday, October 27, 2016 6:03 AM