Xml.XMLDoc.TXMLDocument.BeforeNodeChange

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BeforeNodeChange: TNodeChangeEvent read FBeforeNodeChange write FBeforeNodeChange;

C++

__property TNodeChangeEvent BeforeNodeChange = {read=FBeforeNodeChange, write=FBeforeNodeChange};

Properties

Type Visibility Source Unit Parent
event published
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLDocument

Description

Occurs before a change is made to one of the nodes in the document.

Write a BeforeNodeChange event handler to take specific action before a change is made to a node in the XML document. When an application makes a change to one of the nodes, the following steps occur:

1. The Modified property is set to true.

2. A BeforeNodeChange event occurs.

3. The change is made to the node.

4. An BeforeNodeChange event occurs.

See Also