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