RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLDocument.BeforeClose Event

Occurs immediately before the XML document is closed.

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

Write a BeforeClose event handler to take specific action before the XML document interfaces are released. For example, you can use an BeforeClose event to cache information about the XML document before it becomes unavailable. 

BeforeClose is the first event to occur when the Active property is set to false. 

 

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