To avoid that you can include that information directly into source code. It is done by adding special comments which VBdocman understands. This is classical VB comment with some additional features. (It is very similar to JavaDoc @-style comment).
Example:
'**
'Clears the playing field.
'
'@rem All cells are set to 0.
'@return Boolean. True if succesful.
'@see .setCell
Public Function clear() As Boolean
End Sub
User can write all that comment manually but he is not required to do so. VBdocman can do that automatically.
When user clicks right mouse button on the code window, the pop-up menu appears. Menu contains Add VBdocman Comment and Comment Editor items which perform the following actions:
- Add VBdocman Comment automatically adds the default comment to the object over which there is a cursor.
- Comment Editor invokes the Comment editor for selected object. This is useful when creating complicated documentation including cross-references, parameters settings and others. Comment editor provides the user-friendly graphical way for editing the comments.
