RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMemo.Create Constructor

Creates and initializes an instance of TCustomMemo.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TCustomMemo(TComponent * AOwner);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!