Skip to main content
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

FMX.TMSFNCChat.hppPascalC++
OnBeforeSendButtonMessage: TTMSFNCChatBeforeSendButtonMessageEvent;
__property TTMSFNCChatBeforeSendButtonMessageEvent OnBeforeSendButtonMessage = {read=FOnBeforeSendButtonMessage, write=FOnBeforeSendButtonMessage};

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.