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 ?
lincstechAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Fernando SotoConnect With a Mentor RetiredCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.