Sign in Join
FPDoc Onlineexperiment

FindNestedComponent function

In unit Classes

Finds the component with name path starting at the indicated root component.

Declaration

pascal
function FindNestedComponent(Root: TComponent; APath: string; 
 CStyle: Boolean=True): TComponent

Description

FindNestedComponent will descend through the list of owned components (starting at Root) and will return the component whose name path matches NamePath. As a path separator the characters . (dot), - (dash) and > (greater than) can be used

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.