RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLDocument.BeforeNodeChange Event

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

Pascal
property BeforeNodeChange: TNodeChangeEvent;
C++
__property TNodeChangeEvent BeforeNodeChange;

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.

 

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