RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.BeforeClose Event

Occurs immediately before the dataset closes.

Pascal
property BeforeClose: TDataSetNotifyEvent;
C++
__property TDataSetNotifyEvent BeforeClose;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!