Data.Bind.ObjectScope.TListDeleteEvent
[–] Properties | |
---|---|
Type: type typedef
| |
Visibility: public | |
Source: Data.Bind.ObjectScope.pas Data.Bind.ObjectScope.hpp
| |
Unit: Data.Bind.ObjectScope | |
Parent: Data.Bind.ObjectScope |
Delphi
TListDeleteEvent = procedure(Sender: TBindSourceAdapter; AIndex: Integer; var AHandled: Boolean; var ADeleted: Boolean) of object;
C++
typedef void __fastcall (__closure *TListDeleteEvent)(TBindSourceAdapter* Sender, int AIndex, bool &AHandled, bool &ADeleted);
Description
TListDeleteEvent is an event handler that takes place when an adapter is requested to delete an existing data source item.
TListDeleteEvent has the following parameters:
- Sender defines the adapter.
- AIndex identifies an index of the item to delete.
The following parameters are set by the developer
- AHandled can take two values, True when the item's default processing by the adapter is not needed. And False to let the adapter delete the item.
- ADeleted set to True when the item is deleted.