Link to home
Start Free TrialLog in
Avatar of flfmmqp
flfmmqp

asked on

Change Label Text Property

How can I change a label on the form without going through the properties box?  I used to be able to single click the label twice and start typing in VB6.  It is such a pain to go through the properties box for every single control.  Must be an easier way in vb.net 2003.
Avatar of sirbounty
sirbounty
Flag of United States of America image

From your code, you can use

Label1.Text="Label Description"

Does that answer your question?
I think you are talking about changing label in the design view and not from the code
You can change your label text simply by selecting a label and typing new label text like "ABC" but properties box will display
Avatar of flfmmqp
flfmmqp

ASKER

No I don't want to change from the code.  I want to be able to change it when looking at the form design and click on it to change.  I can do this from the code that is simple.  The default setting for vb.net seems to have taken this function away that VB6 used to have.  I want to be looking at the form and single click twice and change the text on the controls on the form.  Does this make sense?  I should not have to go through the properties box to do this!
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of flfmmqp

ASKER

Desp:

That only works if the last thing you click on was the text in the properties box.  Close but no cigar.  If I had last been working in the name field it would start typing in the name field.  
Avatar of flfmmqp

ASKER

That is what is great about this site.  I know someone has an answer to this question.  Please let someone have the answer to this question.
I hope to be proven wrong... ;)
Hi flfmmqp;

To change most of the properties of controls in .Net IDE / Design time it must be done in the properties window. There are some properties such as Size and Location that can be changed from the form view but that is about it.

Sorry sirbounty but could not prove you wrong. ;=)

Have a great day everyone.

Fernando
I'm sure you'll have many more moments to do so in the future Fernado... ;^)
Well that will be true for us all, otherwise we will not be learning. ;=)