Show: Delphi C++
Display Preferences

Data.DB.TDataSet.AfterCancel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AfterCancel: TDataSetNotifyEvent read FAfterCancel write FAfterCancel;

C++

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

Properties

Type Visibility Source Unit Parent
event public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

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


Personal tools
In Other Languages
Previous Versions
Assistance