TMedDataset.AfterClose TMedDataset

property AfterClose: TDataSetNotifyEvent ;

Description

AfterClose is called right after an application closes a dataset and its state is set to dsInactive.

Both calling Close method and setting Active property to false will trigger AfterClose event.