Data.Bind.ObjectScope.TListAppendEvent
[–] Properties | |
---|---|
Type: type typedef
| |
Visibility: public | |
Source: Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp
| |
Unit: Data.Bind.ObjectScope | |
Parent: Data.Bind.ObjectScope |
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);
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.