Vcl.DBCtrls.TDBRichEdit.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TDBRichEdit(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TDBRichEdit(HWND ParentWindow) : Vcl::Comctrls::TCustomRichEdit(ParentWindow) { }

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBRichEdit

Description

Creates an instance of TDBRichEdit.

Call Create to instantiate a TDBRichEdit object at runtime. For TDBRichEdit objects placed on forms at design-time, the constructor is called automatically.

Pass a single Component as a parameter to provide the TDBRichEdit object with an Owner that is responsible for freeing it.

After calling the inherited constructor to allocate and initialize a generic rich edit object, Create

Sets ReadOnly to true.

Sets AutoDisplay to true.

Creates and initializes the helper objects needed to link to a dataset.

See Also