RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TFont.Destroy Destructor

Destroys an instance of TFont.

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

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!