RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TImage.Destroy Destructor

Destroys an instance of TImage.

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

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TImage reference is not nil, and only then calls Destroy. 

As the control is destroyed, it frees the TPicture object in the Picture property. 

 

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