Solved

View blank label in design view

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Write to a printer using vb.net 9 57
Calculate number of nights between two dates 5 86
Visual studio 2015 1 34
VB.net -  GroupBox / Panel DataBinding and behavior 3 23
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

713 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