I moved the enum definition to the top of the bas file at the end of the variable declarions. At that point the intellisense was happy and so was the compiler.
I did not test it far enough to find out if the error I got was just because the compiler got to my using the type first before it got to the possible error of defining the enum in the wrong place.
No comments:
Post a Comment