RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTimer.Destroy Destructor

Disposes of a timer object.

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

Do not call Destroy directly in an application. Instead, an application should call Free. Free verifies that the timer is not nil before it calls Destroy. 

Destroy deactivates the timer by setting Enabled to False before freeing the resources required by the timer. 

 

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