Classes.TComponent.DestroyComponents

From RAD Studio VCL Reference
Jump to: navigation, search

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.

See Also

Personal tools
Translations
Newest Version