Odd VB .Net 2003 editor behavior when working with labels

N

Norm Krumpe

When typing the name of a label, followed by a period:

Label1.

The dropdown list of properties and methods ALWAYS defaults to
highlighting the "TextAlign" property.

What's worse, if I type:

Label1.Text

and press the spacebar, ".Text" is automatically changed to
".TextAlign" I don't have this problem with other controls (buttons,
textboxes, etc.)...just with labels.

Is this behavior by design, or has something gone flaky in my
environment?

Norm Krumpe
 
H

Herfried K. Wagner [MVP]

* (e-mail address removed) (Norm Krumpe) scripsit:
When typing the name of a label, followed by a period:

Label1.

The dropdown list of properties and methods ALWAYS defaults to
highlighting the "TextAlign" property.

On my computer (VS.NET 200*2*) no item is "highlighted". After typing
"Text", the 'Text' property is highlighted, not the 'TextAlign'
property.
 
G

Guest

Thanks for the comparison.

I don't get the same problem using .Net 2003 on another computer. In fact,
I'm also teaching a room full of students, and the behavior I've described
doesn't happen on any of the 25 machines in that room. Just one computer.

Norm Krumpe
 
C

Cor

Hi Norm,

I hope Herfried is not one of your students.

It thought it takes the last you did use, I thought that Armin did call it
over intellisence, I do not like it either, but it is a choise they took.

Cor
 
A

Armin Zingler

Thanks for the comparison.

I don't get the same problem using .Net 2003 on another computer. In
fact, I'm also teaching a room full of students, and the behavior
I've described doesn't happen on any of the 25 machines in that room.
Just one computer.

I thought it's been changed from 2002 to 2003. Sometimes it's helpful,
sometimes it's not. Your example shows when it's not, but in other cases you
don't have anything because the most recently used item is already
highlighted.

I didn't find an option to change this behavior. Here it was activated right
after installation of VB 2003.
 
N

Norm Krumpe

You're right...Intellisense is the term I should be using. And with many
objects, Intellisense DOES remember the last property/method I selected.
But not labels. Every time, it goes back to TextAlign, before I even type
anything after the "dot".

Norm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top