RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCanvas.Destroy Destructor

Destroys an instance of TCanvas.

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

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!