FMX.EditBox.TCustomEditBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomEditBox(System::Classes::TComponent* AOwner)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | FMX.EditBox.pas FMX.EditBox.hpp |
FMX.EditBox | TCustomEditBox |
Description
Creates a new instance of TPresentedControl.
FMX.EditBox.TCustomEditBox.Create inherits from FMX.Controls.Presentation.TPresentedControl.Create. All content below this line refers to FMX.Controls.Presentation.TPresentedControl.Create.
Creates a new instance of TPresentedControl.
AOwner
takes ownership of the control and becomes responsible of destroying the control once the control is no longer necessary.
The control constructor creates a data model for the control. DefineModelClass determines the default class of data model for each subclass of TPresentedControl.
Create also sets the value of the CanUseDefaultPresentation property to True
.