Data.DB.TDataSource.Create
| [–] Properties | |
|---|---|
| Type: constructor | |
| Visibility: public | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TDataSource | |
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TDataSource(System::Classes::TComponent* AOwner);
Description
Creates an instance of a TDataSource component.
Call Create to instantiate a TDataSource component at runtime. Data source components added to a form or data module at design time are automatically created.
Create instantiates a data link list, and sets the Enabled and AutoEdit properties of the component to true.