Solved

Changing Border Colour

Posted on 2014-03-30
1
338 Views
Last Modified: 2014-04-06
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
Comment
Question by:lincstech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 63

Accepted Solution

by:
Fernando Soto earned 500 total points
ID: 39965263
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
A short article about problems I had with the new location API and permissions in Marshmallow
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Simple Linear Regression

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question