You mean the IntelliSense dropdown list (or autolist members dropdown list)
You have to use enum for possible property value.
It goes something like this:
Public Enum MyEnum
left = 0
right = 1
down = 2
up = 3
End Enum
when you difine a property you use the enum as a value like so:
public property let Myprop(new_Myprop as MyEnum)
setting the property Myprop (like mycontrol.Myprop = ...) the dropdown list will appear where the ... are.
You can either set the property to 0,1,2,3 or left,right,down,up using another value like 4 or OhImDrunk will not cause an error when going to the next line soo be aware for errors in the property set.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.