Data.Bind.ObjectScope.TCreateAdapterEvent
[–] Properties | |
---|---|
Type: type typedef
| |
Visibility: public | |
Source: Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp
| |
Unit: Data.Bind.ObjectScope | |
Parent: Data.Bind.ObjectScope |
Delphi
TCreateAdapterEvent = procedure(Sender: TObject; var ABindSourceAdapter: TBindSourceAdapter) of object;
C++
typedef void __fastcall (__closure *TCreateAdapterEvent)(System::TObject* Sender, TBindSourceAdapter* &ABindSourceAdapter);
Description
TCreateAdapterEvent is the event handler that takes place when a binding data source needs to create an adapter. Optionally, this event handler may be used to populate data sources.
TCreateAdapterEvent has the following parameters:
- Sender specifies the binding data source.
- ADataObject set by the developer to an instance of adapter.