Data.DB.TDataSet.AfterCancel

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

Delphi

property AfterCancel: TDataSetNotifyEvent read FAfterCancel write FAfterCancel;

C++

__property TDataSetNotifyEvent AfterCancel = {read=FAfterCancel, write=FAfterCancel};

Description

Occurs after an application completes a request to cancel modifications to the active record.

Write an AfterCancel event handler to take specific action after an application cancels changes to the active record. AfterCancel is called by the Cancel method after it updates the current position, releases the lock on the active record if necessary, and sets the dataset state to dsBrowse. If an application requires additional processing before returning control to a user after a Cancel event, code it in the AfterCancel event.

AfterCancel is an event handler of type Data.DB.TDataSetNotifyEvent.

See Also

Code Examples