Vcl.ExtCtrls.TImage.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TImage();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TImage |
Description
Destroys an instance of 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.