Data.SqlExpr.TCustomSQLDataSet.BeforeClose
Delphi
property BeforeClose: TDataSetNotifyEvent read FBeforeClose write FBeforeClose;
C++
__property BeforeClose;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Data.SqlExpr.pas Data.SqlExpr.hpp |
Data.SqlExpr | TCustomSQLDataSet |
Description
Occurs immediately before the dataset closes.
Data.SqlExpr.TCustomSQLDataSet.BeforeClose inherits from Data.DB.TDataSet.BeforeClose. All content below this line refers to Data.DB.TDataSet.BeforeClose.
Occurs immediately before the dataset closes.
Write a BeforeClose event to take specific action before an application closes a dataset. Calling Close or setting the Active property to false results in a call to the BeforeClose event handler.
BeforeClose is an event handler of type Data.DB.TDataSetNotifyEvent.