Data.DB.TCustomConnection.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomConnection(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.DB.pas Data.DB.hpp |
Data.DB | TCustomConnection |
Description
Creates an instance of TCustomConnection.
Call Create to instantiate a connection component at runtime. Connection components added to forms or data modules at design time are created automatically.
The Owner parameter specifies another component (usually a form or data module) that is responsible for freeing the connection component.