TRVChat.MarkMessageAsDeleted

<< Click to display table of contents >>

TRVChat.MarkMessageAsDeleted

Marks the message as deleted. Such a message contains nothing except the system text indicating that it was deleted.

procedure MarkMessageAsDeleted(
  AIndex: Integer); 
 
procedure MarkMessageAsDeleted(
  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 changes the message's State to rvcmsDeleted.

See also

DeleteMessage