API:FireDAC.Phys.MongoDBDataSet.TFDMongoPipeline.BeforeCancel
Delphi
property BeforeCancel: TDataSetNotifyEvent read FBeforeCancel write FBeforeCancel;
C++
__property BeforeCancel;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FireDAC.Phys.MongoDBDataSet.pas FireDAC.Phys.MongoDBDataSet.hpp |
FireDAC.Phys.MongoDBDataSet | TFDMongoPipeline |
Description
Occurs before an application executes a request to cancel changes to the active record.
FireDAC.Phys.MongoDBDataSet.TFDMongoPipeline.BeforeCancel inherits from Data.DB.TDataSet.BeforeCancel. All content below this line refers to Data.DB.TDataSet.BeforeCancel.
Occurs before an application executes a request to cancel changes to the active record.
Write a BeforeCancel event to take specific action before an application carries out a request to cancel changes. BeforeCancel is called by the Cancel method before it cancels a dataset operation such as Edit, Insert, or Delete.
An application might use the BeforeCancel event to record a user's changes in an undo buffer.
BeforeCancel is an event handler of type Data.DB.TDataSetNotifyEvent.