System.Classes.TComponent.RemoveComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveComponent(const AComponent: TComponent);

C++

void __fastcall RemoveComponent(TComponent* const AComponent);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TComponent

Description

Removes a specified component specified from the component's Components list.

Components are automatically inserted and removed when visually manipulating them in the form designer. Use RemoveComponent to programmatically delete the component specified by AComponent from its Owner component.

See Also

Code Examples