Vcl.Forms.TCustomForm.DoDestroy
Delphi
procedure DoDestroy; virtual;
C++
virtual void __fastcall DoDestroy();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Form destruction event dispatcher.
DoDestroy is called automatically when the TCustomForm object is about to be deallocated. The precise way DoDestroy is called can be modified by setting the OldCreateOrder property.
As implemented in TCustomForm, DoDestroy simply calls the OnDestroy event handler.