Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

Changing Border Colour

Hello

Is it possible to change the colour of the border around picture boxes and panels when you set the Border Style to fixed single In visual basic.net ?
0
lincstech
Asked:
lincstech
1 Solution
 
Fernando SotoRetiredCommented:
Hi lincstech;

No it is not one of the options of the controls. What you can do is to place a panel down on the form and place another control on top of it like the PictureBox making the panel slightly larger than the PictureBox creating a border around the control and then to change the border color change the BackgroundColor of the panel which is only exposed by the amount that you set to be the border of the control on top of it.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now