System.Classes.TComponent.FindComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindComponent(const AName: string): TComponent;

C++

TComponent* __fastcall FindComponent(const System::UnicodeString AName);

Properties

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

Description

Indicates whether a given component is owned by the component.

FindComponent returns the component in the Components property array with the name that matches the string in the AName parameter. Use FindComponent to determine whether a given component is owned by another.

Component name matches are not case sensitive.

See Also

Code Examples