Solved

View blank label in design view

Posted on 2014-01-16
3
309 Views
Last Modified: 2014-01-17
I have a label on a form that I set to blank and I couldn't find it unless I tabbed through all the controls or selected it from properties or View - Tab Order or click around.

Is there any way of changing VS2012 to show the blank labels. In ASP.NET it shows it with [Labe1] or something like that.
0
Comment
Question by:takwirirar
3 Comments
 
LVL 27

Accepted Solution

by:
MacroShadow earned 500 total points
ID: 39785014
It won't show because it looks like it doesn't have text to show so it blends into its surroundings, either set it with a default text(which you can then change at runtime) or set its background color to one that you will be able to see on the form.
0
 
LVL 40
ID: 39785385
I always put a # in a blank label. This is enough to see them and be able to select them.

I prefer that to using a BackColor or a border, because their text usually has to be changed anyway before displaying the form. Using a BackColor or a border requires extra code to remove them that I would not have to write otherwise.
0
 
LVL 1

Author Closing Comment

by:takwirirar
ID: 39787869
Thanks for timely response. Will be sending feature request!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now