Vcl.StdCtrls.TCustomMemo.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomMemo(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomMemo(HWND ParentWindow) : TCustomEdit(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomMemo |
Description
Creates and initializes an instance of TCustomMemo.
Call Create to instantiate a TCustomMemo object.
AOwner is the component, typically the form, that is responsible for freeing the memo object. This becomes the value of the Owner property.
Derived objects that override the Create method should call the inherited Create before making any additional initializations.