Data.DB.TDataSet.BeforeClose

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeClose: TDataSetNotifyEvent read FBeforeClose write FBeforeClose;

C++

__property TDataSetNotifyEvent BeforeClose = {read=FBeforeClose, write=FBeforeClose};

Properties

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

Description

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.

See Also