Hi
This sounds like a small problem, but it is annoying me
What I generally like to do is to (for example)
Dim strMyString as string 'note the camel humping case
and then type
strmystring = "Hello" 'note the lower case
when I press the return key, I get the reassurance of the camel humping automatically taking place, ie the VB editor changes my line to
strMyString = "Hello"
so I know that I've type the variable name correctly
(I use Option Explicit as well, it is nothing to do with Variable Delaration)
However, I've found that if I use enums, this stops working
Enum MyEnum
MyFirst = 1
MySecond
MyThird
End Enum
it works, but when I type one of the enums in code, it changes it all to lower case, including the declaration in the enum itself.
Where does the VB editor pick up which case to use and is there a way of making it select the same case as in the declaration?
Thanks
This sounds like a small problem, but it is annoying me
What I generally like to do is to (for example)
Dim strMyString as string 'note the camel humping case
and then type
strmystring = "Hello" 'note the lower case
when I press the return key, I get the reassurance of the camel humping automatically taking place, ie the VB editor changes my line to
strMyString = "Hello"
so I know that I've type the variable name correctly
(I use Option Explicit as well, it is nothing to do with Variable Delaration)
However, I've found that if I use enums, this stops working
Enum MyEnum
MyFirst = 1
MySecond
MyThird
End Enum
it works, but when I type one of the enums in code, it changes it all to lower case, including the declaration in the enum itself.
Where does the VB editor pick up which case to use and is there a way of making it select the same case as in the declaration?
Thanks