[RESOLVED] [2005] Component Property
This should be simple...
I have a component that I created in a VB 2005 project with a method named ProcessClick. I placed the component on a form and named it pnlTest. If I go to the FormLoad event handler and type in pnlTest(dot) and look at what intelisense gives me, I show the ProcessClick method. However, when I hover over the method, I don't see the description I set for it. How do I make the description show???
Here is the code I currently have to set the description:
Code:
<System.ComponentModel.Description("Generates a System.Windows.Forms.Control.Click event.")> _
Public Sub PerformClick()
Call OnClick(Nothing)
End Sub
Re: [2005] Component Property
That sets the description for the Component (I think)... put a blank line between the XML comment there and the Public sub.... then hit the single tick mark three times. The IDE will insert a set of comments that you can then fill out. That should give you the intellisense comments I think you are looking for.
-tg
Re: [2005] Component Property
What are you referring to as a "single tick mark"? I tried a single quote and that got me nothing.
Re: [2005] Component Property
it should have come out looking something like this:
Code:
''' <summary>
'''
''' </summary>
''' <remarks></remarks>
Public Sub PerformClick()
Call OnClick(Nothing)
End Sub
-tg
EDIT - Ah, I think I see why.... remove the previous XML attribute you had on there... I didn't see that there was a line continuation on it... or try puttin the ''' on the line BEFORE the XML attribute.
-tg
Re: [2005] Component Property
Summary is the way to go. It didn't automatically type it for me, though. I wonder if there is a setting that can make that happen.
Re: [RESOLVED] [2005] Component Property
dont know if this is in the context... but worth to take a look:
http://www.roland-weigelt.de/ghostdoc/