By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,285 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

my reusable class

P: n/a
ari
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
Feb 17 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"ari" <ar*@discussions.microsoft.com> schrieb
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
Feb 17 '06 #2

P: n/a
ari
thank you.

"Armin Zingler" wrote:
"ari" <ar*@discussions.microsoft.com> schrieb
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

Feb 17 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.