Using Enum properly
Posted on 2000-01-27
What i want to accomplish is: When creating a sub with values being passed to it, i would like it to show a drop down list of posiblities, kinda like if i were to make a public enum then use that enum in the Private Sub MySub(enum). the problem is when calling it i have to type MySub enum.enumvalue. I only get a list of enums when i type the actual name of the enum followed by a period. Many built in methods of basic use something similar to the enum to show the programmer a list when calling that method but none make you type the name of the enum first then a period. they all work buy simply displaying a list of enums which the programmer can choose from. how can i replicate this same behavior? sorry i cant give more points i only have 19 left!