RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomStaticListAction.Destroy Destructor

Frees an instance of TCustomAction.

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

Do not call the destructor directly in an application. Instead, call Free. Free ensures that the action is not nil before calling the destructor. 

If the action is contained in an action list or action manager, Destroy removes the action from that list. 

 

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