API:Bde.DBTables.TBDEDataSet.AfterCancel

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: event
Visibility: published
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TBDEDataSet

Delphi

property AfterCancel;

C++

__property AfterCancel;

Description

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

Bde.DBTables.TBDEDataSet.AfterCancel inherits from Data.DB.TDataSet.AfterCancel. All content below this line refers to Data.DB.TDataSet.AfterCancel.

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