RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomProvider.Create Constructor

Creates a new TCustomProvider object.

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

Call Create to instantiate a provider at runtime. Providers placed in forms or data modules at design time are created automatically. 

The constructor assigns the AOwner parameter as the owner of the provider. This owner is responsible for freeing the provider when it is destroyed. If the owner is a remote data module, the constructor registers the provider with that remote data module so that it is available to client applications through the IAppServer interface. 

 

IAppServer 

Providers 

RegisterProvider 

Owner

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