System.Classes.TRecall.Forget

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Forget;

C++

void __fastcall Forget();

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TRecall

Description

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

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.

See Also