TTMSFNCChat.OnBeforeSendMessage Event
Occurs before a message is sent from the entry field.
API unit family: TMSFNCChat
Declaring type: TTMSFNCChat
Inherited from: TTMSFNCCustomChat
Syntax
OnBeforeSendMessage: 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 sending the message. |