RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBRichEdit.Change Method

Keeps track of the fact that the text has been modified, before letting the inherited method call the OnChange event handler if it is assigned.

Pascal
procedure Change; override;
C++
virtual __fastcall Change();

Applications cannot call this protected method directly. It is triggered automatically by Windows' events. Change responds to these events by internally keeping track of the fact that the text has been modified. This information can then be used to know whether there are any changes to post to the dataset or to remove if the user requests a reset. 

Change also calls the inherited method, which calls the OnChange event handler if it is assigned. 

 

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