RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFieldDataLink.Reset Method

Ignores all pending changes and generates an OnDataChange event.

Pascal
procedure Reset;
C++
__fastcall Reset();

The Control that owns a TFieldDataLink object calls its Reset method to process a UI action that cancels edits to the field. Reset calls the OnDataChange event handler without writing any pending changes to the record in the dataset. 

 

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