Table of Contents

TTMSFNCChat.OnBeforeSendButtonMessage Event

Occurs before the send button creates a message.

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

Syntax

OnBeforeSendButtonMessage: TTMSFNCChatBeforeSendButtonMessageEvent;

Parameters

Name Description
Sender The chat control that raises the event.
AText The message text that can be adjusted before sending.
AAllow Set to False to cancel the send-button action.