Show: Delphi C++
Display Preferences

Data.DB.TDataSet.AfterClose

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AfterClose: TDataSetNotifyEvent read FAfterClose write FAfterClose;

C++

__property TDataSetNotifyEvent AfterClose = {read=FAfterClose, write=FAfterClose};

Properties

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

Description

Occurs after an application closes a dataset.

Write an AfterClose event handler to take specific action immediately after an application closes a dataset. For example, as a security measure, an application might clear a PASSWORD entry from the Params property of a TSQLConnection component when the dataset is closed.

AfterClose is called after a dataset is closed and the dataset state is set to dsInactive.

AfterClose is an event handler of type Data.DB.TDataSetNotifyEvent.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance