RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonDialogAction.Destroy Destructor

Frees an instance of TCustomAction.

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

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!