RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRecall.Forget Method

Discards the saved property values and prevents the TRecall object from updating the reference object.

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

By default, the TRecall destructor updates the reference object, assigning the most recently saved property values. To prevent this from happening, call Forget before destroying the TRecall object. 

Once you have called Forget, the TRecall instance can not do anything. It ignores any further attempts to store property settings because it can't use them to update the reference object when it is destroyed. 

 

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