Classes.TComponent.DestroyComponents
From RAD Studio VCL Reference
Contents |
Delphi Information
From Classes.pas
procedure DestroyComponents
Unit: Classes
Type: method
Visibility: public
Member Of: TComponent
C++ Information
From Classes.hpp
void __fastcall DestroyComponents(void);
Unit: Classes
Type: method
Visibility: public
Member Of: TComponent
Description
Destroys all owned components.
DestroyComponents iterates through the components owned by the component, removing each from the list of owned components and destroying it.
It is not necessary to call DestroyComponents directly. DestroyComponents is automatically called when the component is destroyed.