RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPen.Destroy Destructor

Destroys an instance of TPen.

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

Do not call Destroy directly from an application. Instead, call Free. Free verifies that the TPen reference is not nil, and only then calls Destroy.Destroy frees the resource identified by the Handle property. 

 

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