Xml.XMLDoc.TXMLDocument.BeforeClose
Delphi
property BeforeClose: TNotifyEvent read FBeforeClose write FBeforeClose;
C++
__property System::Classes::TNotifyEvent BeforeClose = {read=FBeforeClose, write=FBeforeClose};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLDocument |
Description
Occurs immediately before the XML document is closed.
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.