Results 1 to 3 of 3

Thread: [RESOLVED] BorderColor for a PictureBox

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Resolved [RESOLVED] BorderColor for a PictureBox

    I'm assuming there's no clean way around this, but, just thought I'd ask anyway incase anyone might know.

    I'm using a PictureBox as a container for a few items, its Appearance is flat and I want to keep the border, but change the color (the default is black, and there's no "BorderColor" property). Anyone have any ideas..? if not, then I can always make lines, or a shape one pixel bigger on each side that serves as the border. I just didn't want to unless I had to.
    Like Archer? Check out some Sterling Archer quotes.

  2. #2
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: BorderColor for a PictureBox

    I don't think there's a way. Set .BorderStyle property to 0 - None and use a shape inside a PictureBox.

  3. #3

    Thread Starter
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: BorderColor for a PictureBox

    that's what I thought, just didn't want to unless I had to. either way, thanks for the idea on putting it inside instead of outside, it actually is a lot easier creating new controls now because the top property just needs to be 0. I'll give you a rating for it @_@!
    Like Archer? Check out some Sterling Archer quotes.

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