FireDAC.Phys.MongoDBDataSet.TFDMongoPipeline.AfterCancel
Delphi
property AfterCancel: TDataSetNotifyEvent read FAfterCancel write FAfterCancel;
C++
__property AfterCancel;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FireDAC.Phys.MongoDBDataSet.pas FireDAC.Phys.MongoDBDataSet.hpp |
FireDAC.Phys.MongoDBDataSet | TFDMongoPipeline |
Description
Occurs after an application completes a request to cancel modifications to the active record.
FireDAC.Phys.MongoDBDataSet.TFDMongoPipeline.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