Results 1 to 4 of 4

Thread: combine autosize + dock properties of label

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    combine autosize + dock properties of label

    any possible way to combine autosize + dock properties of label ?

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Are you talking about the anchor property? If so, why do you need the dock property used at the same time?

  3. #3

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    no ...

  4. #4

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Yes ...It works

    VB Code:
    1. Dim boo As Boolean
    2. boo = (Label1.AutoSize = True)
    3. Label1.Dock = DockStyle.Bottom + (boo)

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