CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2012
    Posts
    13

    How to Adjust Caption Height in Label VB6

    It seems "Captions" in "Label1" can only be adjusted to left , centre and right. And the Caption height always goes to the top of the Label1.
    I want to adjust the Captions's height to the middle of the Label1 vertically (not horizontally)

    Thanks

  2. #2
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: How to Adjust Caption Height in Label VB6

    There is no "caption height" the font size will change the height but what you are looking for is position as this is handled by the top property on the Label control. the text will always be at the top so simply set the top to the position you want.
    Always use [code][/code] tags when posting code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured