FMX.Presentation.Style.TStyledPresentationProxy.CreateReceiver

From RAD Studio API Documentation

Delphi

function CreateReceiver: TObject; override;
function CreateReceiver: TObject; override;

C++

virtual System::TObject* __fastcall CreateReceiver(void);
virtual System::TObject* __fastcall CreateReceiver(void);

Properties

Type Visibility Source Unit Parent
function protected
FMX.Presentation.Style.pas
FMX.Presentation.Style.hpp
FMX.Presentation.Style TStyledPresentationProxy

Description

Creates and returns the Receiver object of the message. {{#multireplace:FMX.Presentation.Style.TStyledPresentationProxy.CreateReceiver|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace: FMX.Presentation.Messages.TMessageSender.CreateReceiver|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace: FMX.Presentation.Messages.TMessageSender.CreateReceiver|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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.

See Also