RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSource.Create Constructor

Creates an instance of a TDataSource component.

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

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. 

 

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