System.Classes.TRecall.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TRecall();

Properties

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

Description

Destroys the TRecall instance, assigning the stored properties to the reference object.

Destroy a TRecall instance to restore the properties of the reference object to the last values saved to the TRecall object. The properties of the reference object are saved to the TRecall instance when you first create it, and subsequently any time you call the Store method. The TRecall destructor assigns the currently saved property values to the reference object by calling the reference object's Assign method.

If you do not want to restore the currently saved property values, call the Forget method before freeing the TRecall object. Once you call Forget, TRecall ceases to store any property information, and destroying the TRecall leaves the properties of the reference object unchanged.

Note: Do not call Destroy directly. Call Free instead. Free checks that the object reference is not nil before calling Destroy.

See Also