[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TComponent.FindComponent

Finds and returns the named component in the owned components.

Declaration

Source position: classesh.inc line 1351

public function TComponent.FindComponent(

  const AName: String

):TComponent;

Description

FindComponentsearches the component with name ANamein the list of owned components. If ANameis empty, then Nilis returned.

See also

Components

  

Indexed list (zero-based) of all owned components.

Name

  

Name of the component.