Data.Bind.ObjectScope.TCreateAdapterEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TCreateAdapterEvent = procedure(Sender: TObject; var ABindSourceAdapter: TBindSourceAdapter) of object;

C++

typedef void __fastcall (__closure *TCreateAdapterEvent)(System::TObject* Sender, TBindSourceAdapter* &ABindSourceAdapter);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Data.Bind.ObjectScope.pas
Data.Bind.ObjectScope.hpp
Data.Bind.ObjectScope Data.Bind.ObjectScope

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.