Data.Bind.ObjectScope.TListAppendEvent
Delphi
TListAppendEvent = procedure(Sender: TBindSourceAdapter; var AHandled: Boolean; var Appended: Boolean) of object;
C++
typedef void __fastcall (__closure *TListAppendEvent)(TBindSourceAdapter* Sender, bool &AHandled, bool &Appended);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp |
Data.Bind.ObjectScope | Data.Bind.ObjectScope |
Description
TListAppendEvent is an event handler that takes place when an adapter is requested to append a new data source item.
TListAppendEvent has the following parameters:
- Sender specifies the adapter.
- AHandled is set by the developer to True when the event handler creates and appends a new item to the data source. And it is set to False to let the adapter creates and appends a new item.
- Appended is set by the developer to True when a new item was appended to the end of the data source by the event handler. And it is set to False when the new place of a new item is undefined.