liebrand
asked on
Function Descriptions
I am trying to figure out how to put descriptions behind my own functions (and/or parameters).
For example, if I type "messagebox.show(" in the editor, it pops up with a little help box that tells you a brief description about each of the parameters its expecting.
How can I do this for my own functions?
For example, if I type "messagebox.show(" in the editor, it pops up with a little help box that tells you a brief description about each of the parameters its expecting.
How can I do this for my own functions?
ASKER
I want to also supply a description along with the parameter. So if another developer is accessing the function, I can give a brief description of what the parameter is for.
This appears to be something new in VB.NET -- VB6 does not have this feature. But if you go into VI Studio.NET and type the function messagebox.show( you will see in the help it will say something like "text: this is the text that is displayed in the messagebox".
And that is what I am trying to figure out how to do.
Thanks
This appears to be something new in VB.NET -- VB6 does not have this feature. But if you go into VI Studio.NET and type the function messagebox.show( you will see in the help it will say something like "text: this is the text that is displayed in the messagebox".
And that is what I am trying to figure out how to do.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Private Sub Display(strMessage as String)
Msgbox strMessage
end Sub
Now call this Sub in Forms load event:
Private Sub Form_Load()
'As soon as you type Display and press a space bar your parameter will be displayed as strMessage. Supply this value and run the form
Display "I have seen the parameters"
End Sub