TWinControl.FindChildControl function
Finds a child control with the specified name.
Declaration
function FindChildControl(const ControlName: string): TControlArguments
ControlName | The name of the control to find (case insensitive). |
Function result
Control with the given name or nil.
Description
Only finds direct children, no recursion. The name is case insensitive.
Note that unique names are not guaranteed for components created in code (if they have different owners). Therefore, only the first matching control will be returned.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
