Results 1 to 5 of 5

Thread: Change the border width of a label?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    Change the border width of a label?

    Hello,

    Is there is way to change the border width of a label? For example if the borderstyle is FixedSingle or Fixed3D, can the size of the effect be changed?

    Thanks!

  2. #2
    Hyperactive Member
    Join Date
    Apr 2003
    Location
    Three Rivers, MI
    Posts
    354
    For instance:
    VB Code:
    1. Label1.BorderStyle = BorderStyle.Fixed3D
    2.         Label1.Height = 50
    3.         Label1.Width = 300
    Is that what you meant?
    Last edited by BukHix; Jan 7th, 2004 at 01:24 PM.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    No

    Thanks but no.

    That sets the borderstyle to Fixed3D and then sets the width and height of the label.

    If possible, I want to change the 3D effect........or........if the borderstyle is FixedSingle (with the line around the label) then I want to increase the size of that line. In other words, I want to increase the border size.

    Thanks!

  4. #4
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    So why don't you make your own UserControl and use that instead of a Label?
    This world is not my home. I'm just passing through.

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    Thanks

    I guess I will have to check into that, but I am already using the label for alot of other things.

    Thanks

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