Vcl.NumberBox.TCustomNumberBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomNumberBox(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomNumberBox(HWND ParentWindow) : Vcl::Stdctrls::TCustomEdit(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.NumberBox.pas Vcl.NumberBox.hpp |
Vcl.NumberBox | TCustomNumberBox |
Description
Creates an instance of TCustomEdit.
Vcl.NumberBox.TCustomNumberBox.Create inherits from Vcl.StdCtrls.TCustomEdit.Create. All content below this line refers to Vcl.StdCtrls.TCustomEdit.Create.
Creates an instance of TCustomEdit.
Call Create to create and initialize an instance of TCustomEdit.
AOwner is another component, typically the form, that is responsible for freeing the edit control. It becomes the value of the Owner property.
Derived objects that override the Create method should call the inherited Create before performing any additional initialization.