CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Label

  1. #1
    Guest

    Label

    How can i center vertically a label's caption?


  2. #2
    Join Date
    Jan 2000
    Location
    Kansas City, MO
    Posts
    34

    Re: Label

    I don't think it's possible to do this with the options that VB makes available to you.

    Old school... six lines a day and I'm done.

  3. #3
    Join Date
    Jan 2000
    Posts
    72

    Re: Label

    u can use the string constants in vb.
    vbCr is for cariage return.

    label1.caption= "H" & vbCr & "E" & vbCr & "L" & vbCr & "L" & vbCr & "O" should work.

    regards
    coolily




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