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(void)/* 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 TDataModel.

AOwner is a component that is responsible for destroying this data model once the data model is no longer necessary. The owner is usually an instance of a subclass of TPresentedControl, which provides a presentation for this data model, and destroys the data model when the control itself is destroyed.

See Also