FMX.Edit.TCustomEditModel.Create
Delphi
constructor Create; override;
C++
__fastcall virtual TCustomEditModel()/* overload */;
/* TDataModel.Create */ inline __fastcall virtual TCustomEditModel(System::Classes::TComponent* const AOwner)/* overload */ : Fmx::Controls::Model::TDataModel(AOwner) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Edit.pas FMX.Edit.hpp |
FMX.Edit | TCustomEditModel |
Description
Creates an instance of TDataModel.
FMX.Edit.TCustomEditModel.Create inherits from FMX.Controls.Model.TDataModel.Create. All content below this line refers to FMX.Controls.Model.TDataModel.Create.
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.