Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TComponent.FindComponent

Finds and returns the named component in the owned components.

Declaration

Source position: classesh.inc line 2546

public function TComponent.FindComponent(

  const AName: string

):TComponent;

Description

FindComponent searches the component with name AName in the list of owned components. If AName is empty, then Nil is returned.

See also

Components

  

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

Name

  

Name of the component.


Documentation generated on: Oct 02 2024