Xml.XMLDoc.TXMLDocument.BeforeOpen
Delphi
property BeforeOpen: TNotifyEvent read FBeforeOpen write FBeforeOpen;
C++
__property System::Classes::TNotifyEvent BeforeOpen = {read=FBeforeOpen, write=FBeforeOpen};
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 opened.
Write a BeforeOpen event handler to take specific action before the XML document interfaces become available. For example, you can use a BeforeOpen event to provide feedback to the user that the XML document is being parsed (which can be cleared in an AfterOpen event handler).
BeforeOpen is the first event to occur when the Active property is set to true.