RAD Studio VCL Reference
TBasicActionLink.Destroy Destructor

Destroys an instance of an action link object.

destructor Destroy; override;
virtual __fastcall ~TBasicActionLink();

You do not need to destroy the action link; it is automatically destroyed by the client that was passed to its constructor when it was created. 

If you want to destroy the action link manually, do not call the destructor directly. Call Free instead. Free checks that the link is not nil, and only then invokes the destructor. 


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