Data.DB.TDataSource.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TDataSource(System::Classes::TComponent* AOwner);

Properties

Type Visibility Source Unit Parent
constructor public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSource

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.

See Also