FMX.Presentation.Messages.TMessageSender.CreateReceiver
Delphi
function CreateReceiver: TObject; virtual;
C++
virtual System::TObject* __fastcall CreateReceiver(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Presentation.Messages.pas FMX.Presentation.Messages.hpp |
FMX.Presentation.Messages | TMessageSender |
Description
Creates and returns the Receiver object of the message.
CreateReceiver is a virtual method that currently returns nil
. This method is overwritten by descendant classes to return the Receiver object of the message.
- Note: The Receiver is automatically released in the destructor of TMessageSender when CreateReceiver is used to set the Receiver.