my reusable class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

i have a reusable email class and was wondering... the line of code that
will be calling my email class; how do i make it where when you are entering
the parameters for the call and you press the space bar or something and it
will show a list of available options to choose from to fill that parameter.

thanks,
ari
 
ari said:
hey all,

i have a reusable email class and was wondering... the line of code
that will be calling my email class; how do i make it where when you
are entering the parameters for the call and you press the space bar
or something and it will show a list of available options to choose
from to fill that parameter.


Maybe you're looking for an Enum:

enum MyEnum
A
B
end enum


class YourClass
sub Method(byval param as MyEnum)
'...
end sub
end class

'...

dim o as new yourClass
method<space> 'enum members will be listed



Armin
 
thank you.

Armin Zingler said:
Maybe you're looking for an Enum:

enum MyEnum
A
B
end enum


class YourClass
sub Method(byval param as MyEnum)
'...
end sub
end class

'...

dim o as new yourClass
method<space> 'enum members will be listed



Armin
 
Back
Top