L
Lloyd Sheen
I am in the process of adding themes to an app. There is lots of code
dealing with colors.
VS 2008 really falls down in this area (at least at the default settings).
I have many properties of type Color. When I attempt to add the code the
property handlers (Get/Set) it does not do a very good job. Let me correct
that. I does a deplorable job.
For example:
Public Property TopColor() As Color
Get
Return _TopColor
End Get
Set(ByVal value As Color)
_TopColor = value
End Set
End Property
is the code for one of the properties. If you want to see how bad it is
place this in a class and then attempt both the Get and Set coding (first
take out the return and =values statements).
For example the return statement. There is nothing you can do to make
NonIntellesense deal with this. As you type return you will get a list of
colors (ok but....) and that is it. If I type in the _ to get the list of
variable starting with _ , what do I get???? Nothing.
Same for _TopColor =. It will give me a list of colors but I have to type
value all the way.
MS are you watching, listening. This is a terrible implementation for this.
LS
dealing with colors.
VS 2008 really falls down in this area (at least at the default settings).
I have many properties of type Color. When I attempt to add the code the
property handlers (Get/Set) it does not do a very good job. Let me correct
that. I does a deplorable job.
For example:
Public Property TopColor() As Color
Get
Return _TopColor
End Get
Set(ByVal value As Color)
_TopColor = value
End Set
End Property
is the code for one of the properties. If you want to see how bad it is
place this in a class and then attempt both the Get and Set coding (first
take out the return and =values statements).
For example the return statement. There is nothing you can do to make
NonIntellesense deal with this. As you type return you will get a list of
colors (ok but....) and that is it. If I type in the _ to get the list of
variable starting with _ , what do I get???? Nothing.
Same for _TopColor =. It will give me a list of colors but I have to type
value all the way.
MS are you watching, listening. This is a terrible implementation for this.
LS