RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBasicActionLink.Destroy Destructor

Destroys an instance of an action link object.

Pascal
destructor Destroy; override;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!