CommentNext Method
This method returns the identifier of the comment that follows the specified comment in the Text Control's current text. It can be used to find the next comment in the text or to enumerate all comments. All replies of a comment immediately follow the replied comment.
Introduced: 30.0.
Syntax
TXTextControl.CommentNext CommentId
Parameters
| Parameter | Description |
|---|---|
| CommentId | Specifies a comment identifier. If this parameter is zero, the identifier of the first comment is returned. |
Return Value
The method returns the identifier of the comment that follows the specified comment. It returns zero when there is no following comment.
Data Types
| Name | Data type |
|---|---|
| CommentId | Long |
| Return value | Long |