RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPaintControl.Destroy Destructor

Destroys the TPaintControl and frees its memory.

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

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

Destroy frees the window used by the paint control. 

 

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