RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPicture.Destroy Destructor

Destroys an instance of a picture object.

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

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TPicture reference is not nil before it calls Destroy. 

Destroy frees the graphic image it contains before calling the inherited Destroy. 

 

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