Solved

View blank label in design view

Posted on 2014-01-16
3
307 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 26

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

758 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

17 Experts available now in Live!

Get 1:1 Help Now