RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.DoNodeChange Method

Generates a BeforeNodeChange or AfterNodeChange event on this node's document.

Pascal
procedure DoNodeChange(ChangeType: TNodeChange; BeforeOperation: Boolean); virtual;
C++
virtual __fastcall DoNodeChange(TNodeChange ChangeType, Boolean BeforeOperation);

Applications can't call the protected DoNodeChange method. It is called internally before and after every change that is made to the node. DoNodeChange checks whether the node's OwnerDocument property is set, and if so, generates a BeforeNodeChange or AfterNodeChange event on that document, as appropriate. 

ChangeType indicates the type of change that is occurring to the node. 

BeforeOperation is true if the change is about to occur, false if the change has just occurred. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!