FMX.EditBox.TEditBoxModel.Create
Delphi
constructor Create; override;
C++
__fastcall virtual TEditBoxModel()/* overload */;
/* TDataModel.Create */ inline __fastcall virtual TEditBoxModel(System::Classes::TComponent* const AOwner)/* overload */ : Fmx::Edit::TCustomEditModel(AOwner) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.EditBox.pas FMX.EditBox.hpp |
FMX.EditBox | TEditBoxModel |
Description
Creates an instance of TDataModel.
FMX.EditBox.TEditBoxModel.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.