FMX.ScrollBox.Style.TStyledCustomScrollBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TStyledCustomScrollBox(System::Classes::TComponent* AOwner)/* overload */;
/* TStyledPresentation.Create */ inline __fastcall virtual TStyledCustomScrollBox(System::Classes::TComponent* AOwner, Fmx::Controls::Model::TDataModel* const AModel, Fmx::Controls::TControl* const AControl)/* overload */ : Fmx::Presentation::Style::TStyledPresentation(AOwner, AModel, AControl) { }
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
constructor | public | FMX.ScrollBox.Style.pas FMX.ScrollBox.Style.hpp |
FMX.ScrollBox.Style | TStyledCustomScrollBox |
Beschreibung
Erstelle eine Instanz einer mit Stilen versehenen TStyledCustomScrollBox-Darstellung für ein TPresentedScrollBox-Bildlauffeld.
AOwner
ist der Eigentümer des erstellten Objekts.
Dieser Konstruktor ruft CreateAniCalculations auf. Wenn CreateAniCalculations eine Null-Instanz zurückgibt, löst Create eine EArgumentException-Exception mit der folgenden Meldung aus:
Mit Stilen versehene Darstellung konnte nicht erstellt werden, weil CreateAniCalculations nil zurückgab.