TE Edit Control .NET Core / .NET Framework Help
Product page

TerEditComment

Edit or delete an existing comment.

bool TerEditComment(ShowDialog, id, pAuthorName, pAuthorInitials, pCommentText, repaint)
bool ShowDialog;Set to TRUE to show a dialog to accept the new author information and the comment text. Set to false to use the information from the remaining parameters passed to this method
int id;Comment id to modify
string AuthorName;The new author name for the comment
string AuthorInitials;The new author initials
string CommentText;

New Comment text. Use the cr/lf sequence to include a paragraph break.

Set to "" to delete the comment.

bool repaint;refresh the screen after this operation

Return Value: This function returns TRUE when successful.