Custom Type

CJLeit

Freshman
Joined
Feb 1, 2006
Messages
32
Hello,

I am making a function for a class and I wantone of the parameters of the class to only allow certain selections in the intellisense. Basically what I want is similar to how when a function expects a drawing.color it gives you an intellisense list of all the available colors. What do I need to do to make this happen. I've tried making a custom structure and using that as the type for my parameter but that didn't work. Any ideas?

Thanks!!
 
Back
Top