RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBasicAction.Destroy Destructor

Disposes of an instance of a TBasicAction object.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TBasicAction();

You do not need to call the destructor for an action. An action is a component and is automatically destroyed by its owner, which was passed to the constructor when it is created. If you must destroy an action manually, call Free instead, which safely invokes the destructor. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!