API:Vcl.Controls.TControlCanvas.Destroy

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TControlCanvas();

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
destructor public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControlCanvas

Beschreibung

Gibt eine Instanz von TCanvas frei.

Vcl.Controls.TControlCanvas.Destroy erbt von Vcl.Graphics.TCanvas.Destroy. Der folgende Inhalt bezieht sich auf Vcl.Graphics.TCanvas.Destroy.

Gibt eine Instanz von TCanvas frei.

Rufen Sie Destroy nicht direkt in einer Anwendung auf. Verwenden Sie stattdessen die Methode Free. Die Methode Free überprüft zuerst, ob das TCanvas-Objekt nicht bereits nil ist, und ruft Destroy nur bei Bedarf auf.

Siehe auch