<< Click to display table of contents >> TRVChat.DeleteMessage |
Deletes the specified message.
procedure DeleteMessage(AIndex: Integer);
procedure DeleteMessage(Msg: TRVChatMessage);
The message can be specified by AIndex in Messages, or by a reference to an item in Messages.
The methods update both the content of ChatRichView and deletes an item in Messages.
The method expects ChatRichView to be formatted before they are called. It re-formats the changed fragment.
See also