FMX.Memo.Style.TStyledMemo.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TStyledMemo(System::Classes::TComponent* AOwner)/* overload */;
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledMemo(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : Fmx::Scrollbox::Style::TStyledCustomScrollBox(AOwner, AModel, AControl) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.Memo.Style.pas FMX.Memo.Style.hpp |
FMX.Memo.Style | TStyledMemo |
Description
Creates an instance of a TStyledCustomScrollBox styled presentation for a TPresentedScrollBox presented scroll box.
FMX.Memo.Style.TStyledMemo.Create inherits from FMX.ScrollBox.Style.TStyledCustomScrollBox.Create. All content below this line refers to FMX.ScrollBox.Style.TStyledCustomScrollBox.Create.
Creates an instance of a TStyledCustomScrollBox styled presentation for a TPresentedScrollBox presented scroll box.
AOwner
is the owner of the created object.
This constructor calls CreateAniCalculations. If CreateAniCalculations returns a null instance, then Create raises an EArgumentException exception with the following message:
Could not create styled presentation because CreateAniCalculations returned nil.