Data.DB.TDataSet.AfterDelete
Delphi
property AfterDelete: TDataSetNotifyEvent read FAfterDelete write FAfterDelete;
C++
__property TDataSetNotifyEvent AfterDelete = {read=FAfterDelete, write=FAfterDelete};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
Occurs after an application deletes a record.
Write an AfterDelete event handler to take specific action immediately after an application deletes the active record in a dataset. AfterDelete is called by Delete after it deletes the record, sets the dataset state to dsBrowse, and repositions the current record.
AfterCancel is an event handler of type Data.DB.TDataSetNotifyEvent.
See Also
Code Examples