Table of Contents

TTMSFNCChat.OnBeforeDrawMessageText Event

Occurs before message text is drawn.

API unit family: TMSFNCChat Declaring type: TTMSFNCChat Inherited from: TTMSFNCCustomChat

Syntax

OnBeforeDrawMessageText: TTMSFNCChatBeforeDrawItemTextEvent;

Parameters

Name Description
Sender The chat control that raises the event.
AGraphics The graphics context used for drawing.
ARect The text drawing rectangle.
AItem The message item that owns the text.
AText The text to draw.
AAllow Set to False to skip drawing the text.