Responds before the first destructor executes. procedure
BeforeDestruction; virtual; virtual __fastcall
BeforeDestruction(); System::TObject::BeforeDestruction is
called automatically before the object's first destructor
executes. Do not call it explicitly in your applications. The
System::TObject::BeforeDestruction method implemented in
System::TObject does nothing. Override this method when creating
a class that takes some action before the object is destroyed.
For example, TCustomForm overrides
System::TObject::BeforeDestruction to generate an OnDestroy
event. Copyright(C) 2009 Embarcadero Technologies, Inc. All
Rights Reserved. What do you think about this topic? Send
feedback!