API:FMX.Controls.Model.TDataModel.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AOwner: TComponent); overload; virtual;

C++

__fastcall virtual TDataModel(System::Classes::TComponent* const AOwner)/* overload */;
/* TMessageSender.Create */ inline __fastcall virtual TDataModel()/* overload */ : Fmx::Presentation::Messages::TMessageSender() { }

Properties

Type Visibility Source Unit Parent
constructor public
FMX.Controls.Model.pas
FMX.Controls.Model.hpp
FMX.Controls.Model TDataModel

Description

Creates an instance of TMessageSender.

FMX.Controls.Model.TDataModel.Create inherits from FMX.Presentation.Messages.TMessageSender.Create. All content below this line refers to FMX.Presentation.Messages.TMessageSender.Create.

Creates an instance of TMessageSender.

The Create method creates an instance of TMessageSender and tries to set the Receiver from the virtual method CreateReceiver. If successors have not overridden the CreateReceiver method, the constructor sets the Receiver to nil.

Create is a virtual method overridden by descendant classes.

See Also