[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Destroy child components.
Source position: classesh.inc line 1348
public procedure TComponent.DestroyComponents; |
DestroyComponentscalls the destructor of all owned components, till no more components are left in the Componentsarray.
Calling the destructor of an owned component has as the effect that the component will remove itself from the list of owned components, if nothing has disrupted the sequence of destructors.
If an overridden 'destroy' method does not call it's intherited destructor or raises an exception, it's TComponent.Destroydestructor will not be called, which may result in an endless loop.
|
Destroys the instance of the component. |
|
|
Indexed list (zero-based) of all owned components. |