RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.BeforeDestruction Method

Destruction event dispatcher.

Pascal
procedure BeforeDestruction; override;
C++
virtual __fastcall BeforeDestruction();

BeforeDestruction is the dispatcher for the event that occurs immediately before the form object's destruction. As implemented in TCustomForm, BeforeDestruction calls the OnDestroy event handler, provided the OldCreateOrder property is false. 

 

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