ToolTipText for class and method

  • Thread starter Thread starter Francois Soucy
  • Start date Start date
F

Francois Soucy

Hi all!
When I write so code I always have some toolTip text for method
arguments that help me to know what jind of object and some "hints" I've to
write. How I can obtain this same thing( when I open the first braket "(" )
with methods that I write myself ? I mean if you type :

MSGBOX( ' you will optain "Prompt as Object, ..... and a little after
you will have a description for the Promp object.

Other example:
If you type me.combobox1. ' You will get a list of every methods avaible
for this comboxbox with a little ToolTipTex for each one. How can I obtain
this with my own methods?

Thank,
Francois
 
Hello,

Francois Soucy said:
If you type me.combobox1. ' You will get a list of
every methods avaible for this comboxbox with a
little ToolTipTex for each one. How can I obtain
this with my own methods?

There are some tools available which can be used to generate the XML file
required for the tooltips:

My XML Comments FAQ:

VB Commenter
http://www.gotdotnet.com/team/ide/
-> section "VB Commenter"

XML Documentation
http://www.gotdotnet.com/team/vb/
-> section "XML Documentation"

VBXC - VB.NET XML Commentor
http://vbxmldoc.tor-erik.net/index.shtml

NDOC (formerly DOC.NET)
http://ndoc.sourceforge.net/

VB.DOC
http://vb-doc.sourceforge.net/
 
Hi Francois,

Take a look at the System.Windows.Forms.ToolTip class. It might help.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwindowsformstooltipclasstopic.asp

If you need a listbox tooltip, I think you can create a new form, put a
listbox object in it, add everything you need into the list box, and show
it on a certain position of the window.

HTH

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

--------------------
| From: "Francois Soucy" <[email protected]>
| Newsgroups: microsoft.public.dotnet.languages.vb
| Subject: ToolTipText for class and method
| Lines: 25
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Date: Thu, 25 Sep 2003 10:41:30 -0400
| NNTP-Posting-Host: 66.131.7.170
| X-Complaints-To: (e-mail address removed)
| X-Trace: weber.videotron.net 1064500985 66.131.7.170 (Thu, 25 Sep 2003
10:43:05 EDT)
| NNTP-Posting-Date: Thu, 25 Sep 2003 10:43:05 EDT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!newsfeed.freenet.de!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlin
k.net!sjc70.webusenet.com!news.webusenet.com!wesley.videotron.net!weber.vide
otron.net.POSTED!not-for-mail
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:141148
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Hi all!
| When I write so code I always have some toolTip text for method
| arguments that help me to know what jind of object and some "hints" I've
to
| write. How I can obtain this same thing( when I open the first braket "("
)
| with methods that I write myself ? I mean if you type :
|
| MSGBOX( ' you will optain "Prompt as Object, ..... and a little after
| you will have a description for the Promp object.
|
| Other example:
| If you type me.combobox1. ' You will get a list of every methods avaible
| for this comboxbox with a little ToolTipTex for each one. How can I obtain
| this with my own methods?
|
| Thank,
| Francois
|
| --
| Francois Soucy
| (e-mail address removed)
| (enlever le "N.O.S.P.A.M.") pour réponse)
| -----------------------------------------------------------------
| "Je suis unique et spécial car je suis le seul à être moi..."
|
|
|
 
Back
Top